LuaLS / LuaLS/vscode-lua

Disabling autocompletion in comments

未关闭
#161 1 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
215
派生
62
PR 合并指标
30 天内没有已合并 PR

描述

When writing comments in Lua, the autocompletion suggests words while typing. This happens without a delay and after typing the first letter of a word. I found the quickly flashing suggestions very distracting and wanted to disable them.

I assumed that I could change this in the Lua section in the settings, and tried this:

    "Lua.completion.enable": false,
    "Lua.completion.showWord": "Disable",
    "Lua.completion.workspaceWord": false,

This didn't fix the issue, and I still saw the suggestions.

Screenshot

I opened an issue here: https://github.com/LuaLS/lua-language-server/issues/2988

As noted in a comment on that issue, vscode-lua overrides the editor.quickSuggestions setting. This was unexpected to me. It would be helpful if this could be changed or documented.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先查看会覆盖 editor.quickSuggestions 的 VSCode 扩展设置行为,并参考链接的 LuaLS issue #2988 了解背景。完成的标准是用户可以按预期禁用注释自动补全,或者明确记录该覆盖行为和可用配置。

由索引模型根据 Issue 内容生成。

评估

技术栈
lua, typescript
领域
developer-experience, tooling
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。