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

Delete Entire Word in Terminal and iTerm2

Ever find yourself holding down the Delete key on the command line? Here's a way to work faster.

Feb 08, 2021

Git Checkout Previous Branch

Checkout the previous git branch without needing to remember or type the name.

Jul 27, 2022

Pro Tip: Use “1.” for Every Ordered List Item when Writing Markdown

A quick tip for making ordered lists in markdown easier to write.

May 31, 2022