2
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?

VS CodeでCommit messageのスペルチェックを行いたい

Last updated at Posted at 2024-01-07

Visual Studio Codeは標準ではGitのコミットメッセージのスペルチェックは行ってくれません。

Code Spell Checkerプラグインを導入するとGitのCommit Messageのスペルチェックが有効になります。
Screenshot 2024-01-07 at 19.28.50.png

ただ、他の全てのファイルの編集時にもスペルチェックが聞いてしまいます。GitのCommit Messageのスペルチェック以外を有効にしたくない場合はSettingscSpell.enabledLanguageIdsscminput以外を全て削除しましょう。

Screenshot 2024-01-07 at 19.25.52.png

ちなみに私は下記の4つだけsettings.json登録することにした。

    "cSpell.enabledLanguageIds": [
        "git-commit",
        "markdown",
        "plaintext",
        "scminput"
    ]

    "cSpell.enableFiletypes": [
        "md"
    ]
2
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
2
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?