DEV Community

Cover image for 💡 10 VS Code extensions I can't code without
Sahil Bondre
Sahil Bondre

Posted on

💡 10 VS Code extensions I can't code without

VS Code is my favourite text editor. It is the most extensible and popular code editors out there. And surprisingly it's made by Microsoft (i know). In my opinion, no other IDE or editor comes even half as close as to what VS Code does. What makes it so robust is it's extension system. It allows you to write an extension for every possible use case you can think of. Here are my top 10 extensions.

1. Beautify

Beautify

ext install HookyQR.beautify
Enter fullscreen mode Exit fullscreen mode

Beautify allows you to format html, js, css, JSON and sass file with your own custom style configuration. It extends over the internal js-beautify and makes it customizable to your personal style.

2. Better Comments

Better Comments

ext install aaron-bond.better-comments
Enter fullscreen mode Exit fullscreen mode

This extension allows you to add semantics to your comments. It categorizes into categories like comments into alerts, queries, todos and highlights.

Better Comments Screen Shots

3. Bookmarks

Alt Text

This one is a lifesaver, especially if you find yourself lost in hundreds of lines of code. This extension allows you to bookmark any line of code. Then when you need to go back all you need to do is browse through the list of bookmarks and select the line you want to visit.

Alt Text

4. Bracket Pair Colorizer 2

Bracket Pair Colorizer

ext install CoenraadS.bracket-pair-colorizer-2
Enter fullscreen mode Exit fullscreen mode

This one does exactly what its name suggests. It colour codes correlated pairs of brackets. This helps a lot when you end up several scopes deep into code.

Bracket Pair Colorizer

5. Format in Context Menus

Alt Text

ext install lacroixdavid1.vscode-format-context-menu
Enter fullscreen mode Exit fullscreen mode

This extension allows you to format all your files by just selecting them from the side-bar. This is especially useful when you have tonnes of files, and your environment does not support formatters and linters.

Alt Text

6. Git Graph

Alt Text

ext install mhutchie.git-graph
Enter fullscreen mode Exit fullscreen mode

It allows you to view a Git Graph of your repository, and quickly perform Git actions from the graph. It is highly configurable and has lots of features. Explaining the goodness of this extension will probably take a whole new post.

Alt Text

7. Git Lens

Alt Text

ext install eamodio.gitlens
Enter fullscreen mode Exit fullscreen mode

GitLens helps you to reflect code authorship at a glance via Git blame annotations and code lens. It enables you to seamlessly navigate and explore Git repositories, gain valuable insights via robust comparison commands, and so much more.

Alt Text

8. indent-rainbow

Indent Rainbow

ext install oderwat.indent-rainbow
Enter fullscreen mode Exit fullscreen mode

This extension colourizes the indentation of code, in different colours on each indent level. This is especially helpful in deep scopes with languages like Python.

9. Path Intellisense

Alt Text

ext install christian-kohler.path-intellisense
Enter fullscreen mode Exit fullscreen mode

Path Intellisense adds auto-completion to file paths. While VS-Code natively supports auto-completion, it is limited to only HTML, CSS and JavaScript files. This extends it to all languages and file types.

Alt Text

10. Total Lines

Alt Text

ext install praveencrony.total-lines
Enter fullscreen mode Exit fullscreen mode

This a handy little extension add the number of lines of the currently opened file in the status bar. A neat addition to your extension collection.


And that is it folks. These are my top VS Code extensions. I'd like to hear your favorite extensions in the comments. Oh, BTW do you want to learn Bash? Here's my crash-course post on Shell Scripting:


🌟 I made some Cheat-Sheets
🚀 Stalk me on Instagram | Github | Twitter | Website
😄 Have a wonderful day!

Latest comments (40)

Collapse
 
kujian profile image
前端开发博客

Hello,nice post and nice extensions, can you authorize me to translate it into Chinese?

Collapse
 
charmingtribble profile image
TribbleCharming

Most things work in IntelliJ by default. And lots more. Why bother with VSCode?

Collapse
 
godcrampy profile image
Sahil Bondre

Less memory usage! (Although not as less)

Collapse
 
niltongmjunior profile image
Nilton Gomes Martins Junior

These are great! Thanks for sharing Sahil!

Collapse
 
minkhant285 profile image
minkhant285

thanks

Collapse
 
marianicole profile image
MariaNicole

Thanks for sharing this list. Quite useful tools. I particularly liked the Bracket pair colorizer... didn't know something that existed.. gonna make my coding life a little easier!

Collapse
 
sangram profile image
Sangram

Here is my development extension pack, if any one is interested.
github.com/sangram-chavan/producti...
I have created clone repo & run mom install.
You will vsix file, which will help install all packages automatically
Cheers !!

Collapse
 
mohnnadbahaa profile image
Mohannad Bahaa

thanks , the only one i do not have it is git graph , i am using sourcetree but i will try git graph ext

Collapse
 
godcrampy profile image
Sahil Bondre • Edited

need to have a look at sourcetree as well 😄

Collapse
 
johnsoncarl profile image
AMAN PANDEY

Great. Thank you for compiling this list.

I am a customization freak. And haven't heard many of these plugins before.
Keep up.😉

Collapse
 
godcrampy profile image
Sahil Bondre

thanks 😄

Collapse
 
pavermakov profile image
Pavel Ermakov

These are nice. I will definitely give them a try. Thank you!

Collapse
 
godcrampy profile image
Sahil Bondre

thank you 😊

Collapse
 
sarahcodes_dev profile image
Sarah 🦄

Great collection 👍 I haven't heard of Bookmarks before, it's gonna be a game changer 🙏😅

Collapse
 
godcrampy profile image
Sahil Bondre

Well thank you for reading 😄