Closed InfiniteXyy closed 2 months ago
Why on earth would you want to exclude the extremely important project.godot?
Why on earth would you want to exclude the extremely important project.godot?
Hello, when I first tried godot, I didn't know what project.godot did. I thought that it was a program-generated file.
Therefore, I excluded them and only keeps the gd files.
I did something wrong, but the plugin keeps reporting meaningless errors, and I don't know what happens.
I think it should be a bug, even the user exclude the project file, the plugin should read the hidden files (maybe for some personal preference or just because unfamiliar with Godot)
Wouldn't a better choice be disabling that popup with its explicitly excluded?
In TypeScript project, when I exclude the tsconfig.json
, the ts plugin is still able to detect and use that config file.
I think here files.exclude only means not showing in the tree structure
Thanks for submitting a fix for this, @InfiniteXyy.
Fix a problem that when
project.godot
is excluded in VSCode,get_project_version
function will always returnundefined
How to reproduce:
project.godot
into vscode settingsThere will be an error popup that the current workspace is not a godot project
There is a simple fix:
The
findFiles
api support taking anull
value in the second parameter, then it will not take any exclusion from user config.https://code.visualstudio.com/api/references/vscode-api