Discover inconsistent whitespace

Bad formatting can sometimes sneak into code. Incorrect whitespace is especially tricky to notice, even with the `editor.renderWhitespace` setting turned on. While this should ideally be dealt with using a code formatter like prettier, there are some occasions where this is not possible. To avoid the embarrassment of checking in code with mixed indentation or trailing whitespace, I've created an extension that highlights these issues.

Get it on Visual Studio Marketplace

Screenshot of code block with highlighted trailing whitespace and mixed indentation
The extension in action.

More in posts

Using the :nth-child() CSS pseudo-class

The patterns of :nth-child() can sometimes be tricky to understand. I made a small website to help out.

Removing :focus outline without destroying accessibility

How to remove the :focus outline while improving keyboard navigation.