Git submodules are handled in a weird way
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 215
- Forks
- 62
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
In der Issue sind keine Dateien oder Tests angegeben. Reproduziere das Verhalten in einem Linux-VSCode-Workspace anhand der aufgeführten Schritte und verfolge anschließend die Behandlung von Workspace und Submodulen in der Extension sowie die Integration des language-server. Das Ziel ist erreicht, wenn Completion und Linting Lua-Definitionen in Submodulen erkennen, ohne zuvor eine Datei eines Submoduls zu öffnen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- git, lua, typescript, vscode
- Bereich
- developer-experience, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100