0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VSCodeでMarkdownの入力補完をする方法

Posted at

はじめに

業務でMarkdownとMermaidを使用するようになり、入力補完が出なくて不便だと思いました。
そこでVSCodeの設定を入力補完が出るように変更したがその際躓いた箇所を書き留めておく。

editor.quickSuggestions

「Markdown 入力補完」で検索すると

settings.json
    "[markdown]": {
        "editor.quickSuggestions": true
    }

をsettings.jsonに設定する方法が出てくる。
しかし現在(2025/05/28)だと「型が正しくありません。 "object" が必要です。」とエラーが出る。
image.png

どうやら現在はこの形が正しいらしい。

settings.json
    "editor.quickSuggestions": {
        "other": true,
        "comments": false,
        "strings": false
    }

各設定項目の内容としては

項目 内容
other 文字列およびコメント外でクイック候補
comments コメント内でクイック候補
strings 文字列内でクイック候補

基本はotherをtrueにしておけば問題なさそう。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?