LuaLS / LuaLS/lua-language-server
Enhancement Ability to inherit/merge settings
還沒有人認領這個 Issue。
- 主要語言
- Lua
- 星號
- 4.4k
- 分支
- 442
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Vscode / Extension 3.5
Initially I tried to use .luarc.json file per workspace but everything is too similiar and one change means changing them for all
Current Layout
Root/Folder/WorkspaceA
Root/Folder/WorkspaceB
...
In the code-workspace file I set the global stuff
runtime.plugin
workspace.library (all workspaces base off the same libraries)
This works fine until I have to add libraries on an individual workspace. I have to copy the workspace.library settings to the workspace settings.json and then add my extra libraries. So if I change anything in code-workspace libraries I then have to go and remember to change it in any settings.json that may have changed.
```json
{
// The following settings would merge with the next higher scope instead of overwriting
"Lua.workspace.mergeIgnore": ["pathToAdditionalIgnore"]
"Lua.workspace.mergeLibrary": ["pathToAdditionalLibrary"]
}
```
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
未指定檔案、測試或進入點。先找出 workspace 設定如何被繼承與合併,然後定義 Lua.workspace.mergeIgnore 與 Lua.workspace.mergeLibrary 在 code-workspace 設定與 workspace 設定中的行為;當較高層級的值仍然有效,同時加入 workspace 特定路徑時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- lua
- 領域
- devtools
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100