vscode-lua icon indicating copy to clipboard operation
vscode-lua copied to clipboard

Git submodules are handled in a weird way

Open AFCMS opened this issue 1 year ago • 0 comments

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

  1. Open a folder in VSCode with Lua code, which contains Git submodules also with Lua code defining type classes, globals, etc.
  2. Open a file from the main folder which depends on submodule code (classes or globals) in VSCode editor
  3. See these references are unknown or undefined
  4. Open in a second tab a file from the submodule
  5. Go back to the first file, see that the references are right
  6. Close the file from the submodule
  7. 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.

AFCMS avatar Dec 21 '23 20:12 AFCMS