LuaLS / LuaLS/vscode-lua

Disabling autocompletion in comments

オープン
#161 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、editor.quickSuggestions を上書きする VSCode 拡張機能の設定動作を確認し、コンテキストとしてリンク先の LuaLS issue #2988 を参照してください。ユーザーが期待どおりにコメントの自動補完を無効化できるようになるか、上書きと利用可能な設定が明確に文書化されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua, typescript
領域
developer-experience, tooling
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。