Git submodules are handled in a weird way · Issue #132 · LuaLS/vscode-lua · GitHub
Skip to content

Git submodules are handled in a weird way  #132

Open

Description

@AFCMS

Which OS are you using?

Linux

Expected Behaviour

I would like completion and linting to work :(

Actual Behaviour

Capture.video.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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions