June 5th, 2019
VSCode is an open-source, cross-platform editor that has become a favourite of programmers, particularly in the Web Development community. It’s fast, extensible, customisable, and has tons of features. You should check it out if you haven’t already done it.
Thousands of extensions have been made for VSCode. I am going to list a few extensions that I use on a day-to-day basis. Let’s begin!
Without Indent Rainbow and Bracket Pair Colouriser🔥🔥 With Indent Rainbow and Bracket Pair Colorizer 🔥🔥
Without Indent Rainbow and Bracket Pair Colouriser
With Indent Rainbow and Bracket Pair Colorizer
Snippets are shorthands in an editor. So instead of writing
import React from 'react';, you can type
imr and press Tab to expand this snippet. Similarly,
It often happens that you code a function, and think that there is a probably better way to do the same thing. You leave a comment
// TODO: Needs Refactoring or something to that effect. But then you forget about the note and push your code to master/production. With Todo Highlighter, that won’t happen. Hopefully.
It highlights your TODOs/FIXMEs or any other annotation in your code in bright colours so it is always clearly visible. One nifty feature is
List Highlighted annotations. It lists all the TODOs in the output console.
This extension allows you to see the size of the imported module. It’s a huge help with bundlers such as Webpack. You can see whether you are importing the entire library or just a particular utility.
One problem that exists is that it doesn’t show the cost of custom files or modules.
As a web developer, we often need to work with REST APIs. For examining the URLs and checking the responses, tools like Postman are used. But why have a different app when your editor can easily do the same task. Welcome REST Client. It allows you to send HTTP request and view the response in Visual Studio Code directly.
Auto Rename Tag
Auto Close Tag
As told by its author, GitLens supercharges the Git capabilities built into Visual Studio Code. It packs a surprising number of features such as code authorship shown via Code lens, commit search, history and GitLens explorer. You can read full explanations of these features here. Suffice it to say that you should install this plugin if you do any work with git.
There are other extensions that focus on a specific functionality. You can install those if GitLens feel bloated or you don’t use many of its features.
Git Project Manager (GPM) allows you to open a new window targeting a git repository directly from VSCode window. Basically, you can now open another repository without having to leave VSCode.
After installing this extension, you will have to set
gitProjectManager.baseProjectsFolders to the list of URLs which contain the repos.
It visually highlights the current indent depth. So now you can easily distinguish between various blocks indented at different levels. Get it here.
Icons to make your editor more appealing!
Similar Extensions —
One theme that I like.