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?

More than 1 year has passed since last update.

Code Spell Checker はデフォルトで全てのファイルをチェックしてくれるわけではない

Last updated at Posted at 2023-10-01

VSCode でコードを書いている皆さんは拡張機能の Code Spell Checker を使っている方が多いと思いますが、一部の (マイナー) 言語ではデフォルトでスペルチェックが有効になっていません。私はこれを知らずに typo だらけのファイルを GitHub に push しました。

言語を指定して有効化する

エディタ設定の C Spell: Enable Language Ids に言語 id を追加します。デフォルトで有名な言語などが追加されています。特定の言語を追加したい場合はこちらの方法を使います。
image.png

ファイルタイプを指定して有効化する

エディタ設定の C Spell: Enable Filetypes にファイルの種類を追加します。デフォルトでは空です。
image.png

その他

C Spell: Overrides で特定のファイル名パターンにマッチして言語の設定を適用するなどの設定も可能です。

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?