LuaLS / LuaLS/lua-language-server
[Question] Why is `ignoreSubmodules` by default true?
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 4.4k
- フォーク
- 442
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
The title is my question.
To be more clear, I didn't know this option for years, and always kept seeing 3K errors of undeclared global values that are defined in my submodules. This almost keeps me away from this language server, and I think it is the same for some other people (although I didn't find any issue in this repo reporting such problem).
Is there any particular reason to ignore submodules by default? If this is reasonable, maybe we should prompt the user to let them choose whether they want to ignore submodules? Or we can keep this option to be `false` by default, and make ignoring submodule an extra `diagnostics.disable`?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue で説明されている `ignoreSubmodules` オプションと、それに関連する `diagnostics.disable` の動作を調査します。サブモジュールがデフォルトで無視される理由を特定し、その後、提案されているデフォルト値とプロンプト表示の代替案を比較します。プロジェクトとして明確で合意された決定がなされ、それに対応する動作が実現された時点で作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- devtools
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100