Git submodules are handled in a weird way
未關閉
還沒有人認領這個 Issue。
- 主要語言
- TypeScript
- 星號
- 215
- 分支
- 62
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
issue 中未指定檔案或測試。按照列出的步驟在 Linux VSCode workspace 中重現該行為,然後追蹤 extension 中對 workspace 和 submodule 的處理,以及 language-server integration。完成標準是:無需先開啟 submodule 檔案,completion 和 linting 即可辨識 submodule 中的 Lua 定義。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- git, lua, typescript, vscode
- 領域
- developer-experience, tooling
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100