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.

Let's Connect

Keep Reading

Use Cmd+K Terminal Trick to Stay Organized

Aside from opening new tabs, the Meta+k shortcut is the one I use most frequently when working on the command-line.

Jan 26, 2021

VS Code Spell Checker Not Working

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

Mar 02, 2021

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