godotengine / godotengine/godot-vscode-plugin
Many GlobalScope methods have not been correctly parsed.
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### Godot version
4.7
### VS Code version
1.135
### Godot Tools VS Code extension version
2.7.1
### System information
Windows11
### Issue description
Many global functions cannot be set to the correct color highlighting by the theme.
When checking using Developer: Inspect Editor Tokens and Scopes, "prints" is not marked as a global function like "print".
### Steps to reproduce
I used godot-vscode-theme as the theme.
Contributor guide
Research direction
Start by reproducing the issue in VS Code 1.135 with the godot-vscode-theme, then inspect the extension's parsing and token-scope handling for GlobalScope methods. Compare the scopes assigned to "print" and "prints"; done means the affected global functions receive the correct global-function scope for theme highlighting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100