My 12 Favorite VSCode Extensions

One of the reasons VSCode is such an awesome code editor is the huge library of extensions created by the community that increase developer productivity. Below are some of my favorite VSCode extensions.


1. Rainbow Brackets

Rainbow Brackets Example This simple extension makes your brackets colorful so you can easily find matching pairs.

2. Auto Rename Tag

Auto Rename Tag Demo There isn't really ever a time where you would want to change an html tag without changing the corresponding opening/closing tag. Automatically change both at the same time with this extension.

3. Relative Path

Relative Path Demo This extension has saved me so much time writing import statements. Easily get the relative path to any file in your workspace with a simple keyboard shortcut.

4. Prettier

Alt Text Keep your code style consistent with this formatter. Configure your settings exactly how you like, then format your code with a keyboard shortcut or on save.

5. htmltagwrap

htmltagwrap Demo Highlight a block of code and use a shortcut to wrap it in any html tag.

6. Markdown Preview Enhanced

Markdown Preview Enhanced Demo If you ever write markdown files, having a live preview is incredibly helpful.

7. Polacode

Polacode Demo This extension allows you to take beautiful screenshots of your code.

8. Random Everything

Alt Text There are so many better uses of our time than coming up with fake placeholder data. This extension allows you to quickly add random pieces of data to your code, such as names, emails, colors, etc.

9. CSS Peek

CSS Peek Demo "Peek" at the styles for any CSS class, id, or HTML tag. Open the styles inline or quickly jump to the file where they are defined.

10. Turbo Console Log

Turbo Console Log Demo Easily log variable names and their values to the console with a keyboard shortcut. Can be configured to include things like file name and line number in the log for easier debugging.

11. Simple React Snippets

Simple React Snippets Demo Snippets for all of the React boilerplate you write over and over again.

12. Snippet Creator

Snippet Creator Demo There are many snippet extensions like the React one above, but sometimes you might want to make your own custom snippets. This extension allows you to do that easily.

Vivien Rsk's photo

You left one important out: vscode-pets (sorry :D I've just recently found out about it and still makes me lol) Nice article, thanks for sharing!

Katherine Peterson's photo

Can’t believe I didn’t know about this one. Thanks for bringing it into my life

Stefan Natter's photo

You have no idea how often I was looking for an extension like "Random Everything"! Thanks a lot.

Yazin's photo

Great list! Here's a few more that I love:

  • DupChecker: Removes duplicate lines in the file you have open
  • Vetur: Vue Tooling