godotengine / godotengine/godot-vscode-plugin
Ctrl+Click sometimes opens GDDoc instead of navigating to method definition
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### Godot version
v4.6.2.stable.official [71f334935]
### VS Code version
Version: 1.121.0 (Universal)
### Godot Tools VS Code extension version
2.6.1
### System information
MacOS
### Issue description
When using Ctrl+Click on a method call in GDScript, navigation is inconsistent. Sometimes it correctly jumps to the method definition, but other times it opens the corresponding GDDoc page instead.
I haven't been able to determine a clear pattern. The same project may contain methods where Ctrl+Click navigates to source code as expected, while other methods open documentation instead.
Expected behavior
Ctrl+Click should consistently navigate to the method definition when source code is available.
If opening GDDoc is intended behavior in some situations, there should be an option to disable it and always prefer source code navigation.
Actual behavior
Ctrl+Click sometimes opens GDDoc instead of navigating to the method implementation.
Additional information
Godot Tools extension
Behavior appears inconsistent across different method calls
It is unclear why some methods resolve to source code while others resolve to documentation
### Steps to reproduce
.
Contributor guide
Assessment
This issue has not been assessed yet.