Published at
Updated at
Reading time
2min

I've stumbled upon a relatively new VS Code extension (more about it in a second) and just went on a journey to clean up VS Code. I removed ten extensions and am now with 25 that I use actively, more or less.

The best extensions blend in so well that you'll be surprised that VS Code doesn't offer certain functionality natively. It's the ones "fixing" the editor that stand out!

And I have a hunch that "Better Folding" created by Mohammad Baqer will be one of them. Let me quickly share three extensions I forgot I installed but don't want to miss.

The newbie first: Better Folding

The Better Folding extension was released in 2023 and only has a few downloads yet, but after looking at it, I immediately realized that code folding in VS Code could be better.

VS Code's folding is somehow standing in my way, and that's why I'm not using it that often...

Check out "Better Folding's" improvements!

"Better folding" and VS Code code folding comparison showing that Better folding displays the number of hidden lines, fold smarter and doesn't include dangling characters.

Everything's nicely configurable, too! I bet VS Code will adopt all these folding features when the extension takes off!

HTML End Tag Labels

And speaking of code folding: to navigate nested HTML structures, I used to collapse certain areas to keep an overview. The HTML End Tag Labels extension makes HTML editing so much easier.

HTML structure showing defined classes next to the closing tag.

Better Comments

And if a code base comes with lots of comments, Better Comments' TODO highlighting makes it easier to grasp what's essential!

Three colored code comments.

That's all for today's VS Code spring cleaning. If you use extensions that blend in as nicely as these three, shoot them my way!

If you enjoyed this article...

Join 5.5k readers and learn something new every week with Web Weekly.

Web Weekly — Your friendly Web Dev newsletter
Reply to this post and share your thoughts via good old email.
Stefan standing in the park in front of a green background

About Stefan Judis

Frontend nerd with over ten years of experience, freelance dev, "Today I Learned" blogger, conference speaker, and Open Source maintainer.

Related Topics

Related Articles