Home

VS Code Spell Checker Not Working

Did your squigglies disappear?? Here's the most likely culprit.

I ❤️ Code Spell Checker plugin for VS Code. It has led to fewer stupid mistakes in my code.

I've been working a lot with MDX and I realized that the spell checker wasn't working. I wasn't sure if I disabled it globally. I re-enabled it, but that didn't seem to fix the trick.

Eventually I found that the issue was that mdx was not in the list of languages that the plugin (cSpell) was targeting.

Here's how to fix it:

Option #1: The UI Way

You can find this in your user or workspace settings as C Spell: Enabled Language Ids.

VS Code Spell Checker - Language IDs

Scroll to the bottom of the list and add mdx (or the language that isn't working for you).

VS Code Spell Checker - New Language

Option #2: The JSON Way

Or in your JSON user or workspace settings, adjust the value of cSpell.enabledLanguageIds to include the language causing the issue.

Note that if you do this, you'll want to include all the other languages you want targeted. Using this setting overrides all the defaults.

Let's Connect

Keep Reading

Use a Code Spell Checker

Spell-checking isn't just for documentation.

Mar 01, 2021

Disabling Typeahead for VS Code

Settings to disabling various methods that provide typeahead functionality in VS Code.

Apr 20, 2023

Convert Markdown Image to HTML in VS Code

Make a bulk conversion of markdown images to HTML strings using a regex find and replace with VS Code.

May 03, 2022