godotengine / godotengine/godot-vscode-plugin
Unnecessary "Couldn't connect to GDScript language server" when in non-Godot workspace
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### Godot version
4.2.2 stable
### VS Code version
1.89.1
### Godot Tools VS Code extension version
2.1.0
### System information
Ubuntu 24.04
### Issue description
When opening a non-Godot workspace in VSCode, the Godot extension still generates a notification that "the GDScript language server isn't available", even though it isn't necessary.
The notification should still pop up if it's detected that this workspace is a Godot project.
### Steps to reproduce
- Don't have Godot opened
- Open a random, not-Godot workspace
- Wait about a minute
- Note the warning notification in the bottom-right, "Couldn't connect to the GDScript language server at 127.0.0.1:6008. Is the Godot editor or language server running?"
Contributor guide
Assessment
This issue has not been assessed yet.