LuaLS / LuaLS/lua-language-server
Consider giving priority to added paths over gitignore files
還沒有人認領這個 Issue。
- 主要語言
- Lua
- 星號
- 4.4k
- 分支
- 442
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hello.
I was trying to make the VSCod extension detect my hammerspoon definitions, and it was not working.
Then I noticed the `"Lua.workspace.useGitIgnore": false` setting, and after setting it to false it started working.
I have this in my third party config
```
"Lua.workspace.userThirdParty": [
"/private/etc/nix-darwin/dotfiles/hammerspoon/Spoons/EmmyLua.spoon/annotations/"
]
```
That `annotations` folder is gitignored, but I seriously think it should take priority over the gitignore setting, because I manually added it.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先追蹤在篩選 workspace 路徑時如何處理 Lua.workspace.userThirdParty 和 Lua.workspace.useGitIgnore 設定。檢查所提供的 annotations 路徑的行為,該路徑會被 gitignore 忽略,但已明確設定。當明確新增的路徑即使在 gitignore 設定下也會被納入考量,同時其他路徑的既有行為維持不變時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- lua
- 領域
- developer-experience, tooling
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100