Skip to content

F1 Help (Language Help) fails with "file not found" error on Windows #184

@lefado

Description

@lefado

Description

When pressing F1 to open language help in an ABAP file, the extension attempts to open the source file itself with an incorrectly encoded Windows path, resulting in a "file not found" error.

Expected Behavior

Pressing F1 should open ABAP language documentation/help.

Actual Behavior

Pressing F1 on an ABAP statement (e.g., IF statement) results in the following error:

file:///c%3A/Users/dfaro/Code/HUC/SAP/Programs/ZHRCISR2ZHRPA.abap (682, 7)file not found

The extension is trying to open the source file itself (ZHRCISR2ZHRPA.abap) instead of opening ABAP language documentation. Additionally, the Windows path encoding appears incorrect (c%3A instead of c:).

Steps to Reproduce

  1. Open an ABAP file in VS Code with the abaplint extension enabled
  2. Position cursor on any ABAP statement (e.g., IF, SELECT, DATA, etc.)
  3. Press F1
  4. Error message appears: file:///c%3A/Users/.../filename.abap (line, column)file not found

Environment

  • OS: Windows 10 (Build 26100)
  • Workspace Structure:
    
    
    

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions