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 摘要。