LuaLS / LuaLS/lua-language-server
[Question] Why is `ignoreSubmodules` by default true?
还没有人认领这个 Issue。
- 主要语言
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先调查 issue 中描述的 ignoreSubmodules 选项及相关的 diagnostics.disable 行为。确定子模块默认被忽略的原因,然后比较所提议的默认值方案和提示方案;当项目达成明确且一致同意的决定,并实现相应行为时,这项工作就完成了。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- lua
- 领域
- devtools
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100