DEV Community

Cover image for My 12 Favorite VSCode Extensions
Katherine Peterson
Katherine Peterson

Posted on • Edited on • Originally published at blog.katherinempeterson.com

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.

Top comments (40)

Collapse
 
nickytonline profile image
Nick Taylor

Congrats on your first post!

You did it!

Collapse
 
afthabanees profile image
Afthab Anees

lmao

Collapse
 
weirdmayo profile image
Daniel Mayovsky

Vim plugin is a necessity for me

Collapse
 
soconn profile image
soconn

I'm a vim guy through and through, but that plugin only lasted a few minutes with me

Collapse
 
afthabanees profile image
Afthab Anees

Why Tho ??

Thread Thread
 
soconn profile image
soconn

The workflow just didn't feel right with working in an IDE.

Thread Thread
 
afthabanees profile image
Afthab Anees

hmm

Collapse
 
tabnine profile image
Tabnine

Great article. You're missing something for productivity, though :) have you heard of Tabnine AI code completions? It uses GPT-2 based models to predict the exact code the developer has intended to type and saves thousands of keystrokes. Works miraculously with VS Code!

Collapse
 
mattmattv profile image
Matthieu Vion

Super hyped by the Β΄console.logΒ΄ extension ! I need to test that :)

Collapse
 
markilabot profile image
Mark Escolano • Edited

Yeah me too. It has a windows keys shortcut instruction. For MAC users should work with ctrl+option+L.

Collapse
 
neatcoder profile image
Neat Coder

Nice and Useful list of Extensions!
Thanks..

Collapse
 
michelledev3 profile image
michelledev

Thanks Katherine -- U ROCK!

Collapse
 
anubra266 profile image
Abraham

This is beautiful, but you should checkout webpack aliases, you won't need No 3

Collapse
 
katherinecodes profile image
Katherine Peterson

Very cool, I didn’t know about that.

I don’t use webpack in all my projects though so it might still be useful to have both?

Collapse
 
anubra266 profile image
Abraham

Yeah, both is good.

Collapse
 
raychginge profile image
Rachel Bourne

Thanks, this list is really helpful

Collapse
 
pfacklam profile image
Paul Facklam

Good article and very useful extensions. Thanks for sharing!

Collapse
 
amar39364236 profile image
Amar

nice :)