LuaLS / LuaLS/lua-language-server
"Lua.workspace.ignoreDir" does not work with folders that contain square brackets
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 4.4k
- フォーク
- 442
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Diagnostics/Syntax Checking
Expected Behaviour
Folders that contain [ ] square brackets can be ignored using Lua.workspace.ignoreDir.
Actual Behaviour
Folders that contain square brackets are not ignored.
Reproduction steps
-
In a workspace, create a folder
[example]with a file that contains syntax errors. -
Add that folder to your ignored directories:
"Lua.workspace.ignoreDir": [
"[example]"
]
- Observe that the file is not ignored, and still appears in Problems as well as highlighted in the explorer.
Additional Notes
This is on Windows specifically, I don't have a *nix environment handy to test on.
Log File
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Lua.workspace.ignoreDir 設定を使用し、構文エラーを含む [example] という名前のフォルダーを用意して、Visual Studio Code Extension で Windows 上の問題を再現します。無視されたディレクトリがどのように照合されるかを追跡し、その後、そのフォルダーが Problems とエクスプローラーのハイライト表示から除外される一方で、通常の無視されたフォルダーは引き続き機能することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100