All Posts

Use a Code Spell Checker

Spell-checking isn't just for documentation.

We move fast as developers. It's one thing to make a spelling mistake in documentation. Spelling mistakes in your code can lead to bugs. Bugs that could have been easily avoided with the help of a code spell checker.

One of my favorite VS Code plugins is Code Spell Checker. It's been a total game-changer for me. It catches spelling mistakes by putting that blue little squiggly line underneath misspelled words.

Spell Checker - Incorrect Word

It's even smart enough that it uses casing to determine where word breaks should be. (Look at the example above and notice that only the misspelled Compnoent is underlined, while My is left alone.)

And there's also user and workspace dictionaries to capture those weird words that should be treated as actual words, like Eleventy.

Even if you don't use VS Code, there's likely a plugin to help you with code spell-checking in your editor of choice.

Want to receive approximately one email every month with new articles, tools, and references I've discovered? Sign up below.

More info here.

Social Links
Site References