10 Best VSCode Extensions for Web Development

Install these powerful VSCode extensions to significantly improve your productivity during web development.

Visual Studio Code is among the most widely-used supply code editors on the market, with over 136k stars on GitHub. Its reputation comes about attributable to its lightness, flexibility, open-source nature, simplicity, and extensibility.

Talking of extensibility, VSCode has 1000’s of extensions you may set up to ramp up your developer productiveness and save your self from mundane duties. They’re all obtainable within the Visible Studio Code market and the overwhelming majority of them are utterly free.

This text seems to be at 10 highly effective Visible Studio Code extensions that considerably enhance the net growth expertise. Instance utilization and set up hyperlinks are supplied for each one among them.

1. Prettier

Prettier is a useful tool that automatically formats your code utilizing opinionated and customizable guidelines. It ensures that each one your code has a constant format and can assist implement a particular styling conference in a collaborative undertaking involving a number of builders.

image 16

The Prettier extension for Visual Studio Code brings a couple of seamless integration between the code editor and Prettier, permitting you to simply format code utilizing a keyboard shortcut, or instantly after saving the file.

Watch Prettier in motion:

image 8

Set up: Prettier — Code formatter — Visual Studio Marketplace

2. JavaScript Booster

This extension upgrades Visual Studio Code with code actions to carry out widespread refactoring duties that happen when programming with JavaScript.

image 15

They’re dozens of code actions that it may well perform, together with: changing an if...else assertion with a ternary operator:

image 7

splitting a declaration and initialization into a number of statements:

image 6

and changing a perform to an arrow perform:

image 5

Set up: JavaScript Booster — Visual Studio Marketplace

3. ESLint

ESLint is a tool that finds and fixes issues in your JavaScript code. It offers with each code high quality and coding type points, serving to to establish programming patterns which might be prone to produce tough bugs.

image 14

The ESLint extension for Visual Studio Code permits integration between ESLint and the code editor. This integration permits ESLint to inform you of issues proper within the editor.

As an illustration, it may well use a crimson wavy line to inform of errors:

image 13

We are able to view particulars on the error by hovering over the crimson line:

image 12

We are able to additionally use the Issues tab to view all errors in each file within the present VSCode workspace.

image 11

Set up: ESLint — Visual Studio Marketplace

4. GitLens

GitLens is another highly effective extension that helps you are taking full benefit of Git supply management in Visible Studio Code.

image 10

GitLens shows views containing important repository information and knowledge on the present file, equivalent to file historical past, commits, branches and remotes.

image 9

Place the cursor on any line within the editor and GitLens will show data on the most recent commit the place the road was modified:

image 8

Set up: GitLens — Git supercharged — Visual Studio Marketplace

5. Live Server

The Live Server extension for VSCode begins a local server that serves pages using the contents of files within the workspace. The server will automatically reload when an related file is modified.

image 7

Within the demo beneath, a brand new server is launched to show the contents of the index.html file. Modifying index.html and saving the file reloads the server immediately. This protects you from having to manually reload the web page within the browser each time you make a change.

image 4

As you noticed within the demo, you may simply launch a brand new server utilizing the Open with Reside Server merchandise within the right-click context menu for a file within the VSCode Explorer.

image 6

Set up: Live Server — Visual Studio Marketplace

6. CSS Peek

The CSS Peek Extension enables you to rapidly view the CSS type definitions for varied class names and IDs assigned in HTML.

image 5

There are 3 ways to make use of CSS Peek:

  • You possibly can hold down the Ctrl key and hover over a category title or ID to peek at its definition.
  • You should use a keyboard shortcut to open a persistent definition window that shows the CSS definition of a category title or ID.
  • You should use a keyboard shortcut to navigate to the place the definition is positioned in its CSS file.

Here’s a demonstration of all these strategies:

image 3

Set up: CSS Peek — Visual Studio Marketplace

7. Intellisense for CSS Class Names in HTML

This extension can work hand in hand with CSS Peek, it offers code completion for the HTML class attribute from current CSS definitions discovered within the present Visible Studio Code workspace.

image 4

You’ll respect the advantages of this extension when utilizing third-party CSS libraries containing a whole bunch of courses.

image 2

Set up: IntelliSense for CSS class names in HTML — Visual Studio Marketplace

8. JavaScript (ES6) Code Snippets

Because the title suggests, that is an extension that comes totally loaded with heaps of time-saving code snippets for JavaScript, in ES6 syntax.

image 3

Right here’s a demo the place the imp and imd snippets from this extension are used to rapidly import two modules with ES6 syntax.

image 1

Set up: JavaScript (ES6) code snippets — Visual Studio Marketplace

9. Visual Studio Intellicode

Artificial Intelligence continues to extend employee productiveness in varied jobs, and builders should not unnoticed. IntelliCode is a software that produces good code completion suggestions that make sense within the present code context. It does this utilizing an AI mannequin that has been educated on 1000’s of widespread open-source tasks on GitHub.

image 2

Once you sort the . character to entry an object technique or fields, IntelliCode will recommend an inventory of members which might be probably for use within the current situation. The objects within the checklist are denoted utilizing a star image, as proven within the following demo.


IntelliCode is obtainable for JavaScript, TypeScript, Python, and numerous different languages.

Set up: IntelliCode — Visual Studio Marketplace

10. VSCode Icons

Icon packs can be found to customise the look of recordsdata of various sorts in Visible Studio Code. They improve the look of the applying and make it simpler to establish and distinguish recordsdata of varied types.

VSCode Icons is one the most well-liked icon pack extensions, boasting a extremely complete set of icons and over 11 million downloads.


It goes past file extension differentiation, to supply distinct icons for recordsdata and folders with particular names, together with package deal.jsonnode_modules and .prettierrc.

image 1

Set up: vscode-icons — Visual Studio Marketplace


So we’ve gone by 10 important extensions that support internet growth in Visible Studio Code. Set up them now to spice up your developer productiveness and lift your high quality of life as an online developer.


Notify of

Inline Feedbacks
View all comments

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.

Most popular

Most discussed