-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
Problem Description:
While developing a VS Code extension project in Theia, encountered an issue with incorrect code navigation positioning:
- Ctrl+click on
workspace
at line 17 inextension.ts
- Correctly jumps to line 13612 in
index.d.ts
(expected) - Use
Go Back
(Alt+Left) to return - Ctrl+click on
workspaceFolders
- Still jumps to line 13612 in
index.d.ts
(unexpected, should navigate to new location)
VS Code handles this scenario correctly with proper navigation.
Reproduction Steps:
- Create a VS Code extension project with workspace-related APIs
- Add the following code in
extension.ts
:const folders = vscode.workspace.workspaceFolders; // Line 17 - Perform the described navigation sequence
Expected Behavior:
Each navigation should locate the latest definition position of the target symbol
Actual Behavior:
Subsequent navigation repeats previous positioning (line 13612)
Environment:
- Operating System: windows10
- Theia Version: 1.59.1
Metadata
Metadata
Assignees
Labels
No labels