vscode-lua
vscode-lua copied to clipboard
Git submodules are handled in a weird way
Which OS are you using?
Linux
Expected Behaviour
I would like completion and linting to work :(
Actual Behaviour
Capture vidéo du 2023-12-21 21-17-28.webm
The stent folder is a submodule. This bug happens also with every other submodule in my workspace.
Reproduction steps
- Open a folder in VSCode with Lua code, which contains Git submodules also with Lua code defining type classes, globals, etc.
- Open a file from the main folder which depends on submodule code (classes or globals) in VSCode editor
- See these references are unknown or undefined
- Open in a second tab a file from the submodule
- Go back to the first file, see that the references are right
- Close the file from the submodule
- Go back to the first file, see that the references are unknown or undefined
Additional Notes
No response
Log
Will provide it full if needed but its long due to being workspace related stuff and I looked into it without finding an error or something suspicious.