LuaLS / LuaLS/lua-language-server
Enhancement Ability to inherit/merge settings
まだ誰も着手していません。
- 主要言語
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイル、テスト、エントリーポイントは指定されていません。まず、workspace 設定がどのように継承・マージされるかを特定し、次に code-workspace 設定と workspace 設定における Lua.workspace.mergeIgnore と Lua.workspace.mergeLibrary の動作を定義してください。上位スコープの値が有効なまま、workspace 固有のパスが追加されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100