Top 10 VSCODE Extensions You Need In 2022!!!
Tags: productivity, vscode, webdev, tutorial
Published: 2022-08-31 08:19:07

As is well-known, Visual Studio Code (VS Code) is a powerful, lightweight code editor available for free on Windows, macOS, and Linux. It’s one of the most popular code editors coming with a robust set of features out of the box. The capabilities of VS Code can be extended, which in return will enhance your working productivity in many ways.

Let’s go over the top 10 VS Code extensions and how they can make coding life easier for any web developer!

## 1. [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)

![ESLINT](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/51nkm5vh35e8qswav3hi.gif)

As JavaScript is, in its nature, a loosely typed language, it’s more prone to errors. Each developer has their own style of writing (i.e., naming conventions or single and double quotes for a string). ESLint allows you to impose specific guidelines for developers to stay with coding standards and minimize the chances of errors. ESLint is an extension that helps you find and fix problems with your JavaScript code. 

This extension aims to make your code more consistent and bug-free. It uses static analysis to identify and highlight problems within your JS code as you type. Most of the issues can be fixed automatically by ESLint, every time you save your file. You can even add your own custom rules or disable existing ones.

## 2. [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)


![PRETTIER](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s64k7lxajnn1tv7tqxia.gif)

In addition to ESLint,  you can use Prettier to format your files when saving them or committing them to a version control system. It formats your source code for you, so you don’t have to worry about it. You can use the extension for personal projects and when working in a team with other developers.

It helps you enforce consistent styling across the whole codebase, maintaining proper alignment and giving spaces between the words in the code, enhancing the overall readability and maintainability of both small and large code. Developers looking at the code will effortlessly understand the logic and structure.

Prettier supports various languages (JavaScript, TypeScript, JSX, Angular, Vue, CSS, HTML, JSON, GraphQL), and it is used by many big companies like Facebook, Spotify, Discord, PayPal, and others.

## 3. [Path Intellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense)


![INTELLISENSE](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9hh7zegi62kg0ucdx8ug.gif)

Linking correct file paths for your CSS and other assets has never been easier. As the name suggests, the Path Intellisense extension helps you autocomplete filenames and their paths. This simple but powerful extension can index both the working directory and remote drives. When you divide your code into multiple modules, this comes in very handy.

Whenever you start typing the file name, Path Intellisense will begin to search for that name in your project and give you suggestions. It makes it easier to work with lots of node modules or files.

## 4. [ES7+ React/Redux/React-Native snippets](https://marketplace.visualstudio.com/items?itemName=rodrigovallades.es7-react-js-snippets)


![SNIPPETS](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5juijam8ml432ytolgsl.gif)

When working on a React project, “snippets” will help you improve your workflow and code pace by providing neatly packaged and pre-written templates for you to use. All you have to do is start typing the trigger commands.

By simply typing “rfce” as a command, the extension will generate a React functional component for you, import React, and export the component.

This extension can be used for React and also for React-Native projects. It’ll give you many snippets for React that you’ll find helpful and speed up your development process. Apart from React, it also has snippets for Redux and GraphQL.

This is a trendy extension with a few million downloads and a 5-star rating.

## 5. [React Refactor](https://marketplace.visualstudio.com/items?itemName=planbcoding.vscode-react-refactor)


![REACT REFACTOR](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8w92mojot6vzsv1xmz68.gif)

Every once in a while, some of the codebases will require refactoring. When working on large projects, this task could become problematic, and that’s when React Refactor tool comes in.

With a couple of clicks, it can extract parts of JSX code to a new functional component. It might not be as helpful for large components, but it is perfect for any small ones. It has support for TypeScript and TSX, and it’s compatible with React Hooks API. This extension works well with the classes, functions, and arrow functions.

## 6. [GitLens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens)


![GIT LENS](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k33ezdtdmd8dnorgdkdl.gif)

The purpose of GitLens is to help developers navigate and understand how their code is changed over time. Working with git from the console can be difficult, depending on what you want to achieve. The main feature is the ability to visualize who, why, and how changed the lines of code in the past. You can navigate through the history of file changes back and forth. Among many other features, it can inspect a single line in the code, show you the last commit that modified it, and provide you with a link for the pull request in which that change was made. The extension is also highly customizable.

## 7. [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)

![LIVE SERVER](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hvsmd2u160blg09qcxh6.png)

If you are working on website development in VS Code and need to visualize your work so far, you can use Live Server. It creates a local and temporary server just for the website being developed. You can visualize both dynamic and static website pages using this extension.

- Live and reloadable browser-based web server for website visualization.
- Users can stop or start the server with a single click from the status bar of the add-on.
- Compatible with Chrome Debugging Attachment.

## 8. [npm](https://marketplace.visualstudio.com/items?itemName=eg2.vscode-npm-script)

![NPM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qq5ky8xfgjcyp0u4yymf.png)

If you work on JavaScript projects, you must try npm as the package manager. Now, when you need to shift your work to VS Code editor, you can do that. Because the npm extension lets you enjoy the npm supportability on VS Code editor like other IDEs.

- Recalling the last npm script that you used after installing this extension.
- Run an npm script
- Terminating any running scripts
- Run npm install

## 9. [CSS Peek](https://marketplace.visualstudio.com/items?itemName=pranaygp.vscode-css-peek)

![CSS Peek](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0ridq79flny3kyulowlr.png)

Do you want to get rid of having to toggle over to your .css file to inspect the properties attached to an id or class? You need to try the CSS Peek add-on for VS Code. It lets you view the hover image of CSS code from the HTML file.

The extension also converts IDs and class names into hyperlinks. Thus, when you click on these hyperlinks, you can instantly access the ID definition and class of your CSS.

## 10. [HTML and CSS Support](https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css)

![htmlandcsssupport](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3azb4fwiom8ljk1au23u.png)

HTML CSS support visual studio code
The Extension Highlights

- HTML id and class Auto-completion features.
- Upholds connected and implanted templates.
- Support layout legacy.
- Upholds extra templates.
- Support other HTML-like coding languages.
- Approves CSS selectors on request.

#### How to Use HTML and CSS Support extension?
You can see a rundown of id and class suggested ideas by pressing ctrl + space.

## Happy Coding!

This concludes our list of top ten VS Code extensions that we think provide the most boost to developers’ performance, speed, and accuracy. Hope they help you produce amazing work!

Thank you for reading! If you found this blog post helpful, please consider sharing it with others who might benefit. Feel free to check out my other blog posts and visit my socials!

- [Profile](https://bio.link/devarshishimpi)
- [Linkedin](https://linkedin.com/in/devarshi-shimpi)
- [Twitter](https://twitter.com/devarshishimpi)
- [Youtube](https://youtube.com/@devarshishimpi)
- [Hashnode](https://devarshishimpi.hashnode.dev)
- [DEV](https://dev.to/devarshishimpi)

### Read more

- [Self-Hosting Your Own Cloud Storage on AWS using NextCloud](https://blog.devarshi.dev/self-hosting-your-own-cloud-storage-on-aws-using-nextcloud)
- [What is DigitalOcean? - Everything You Need to Know](https://blog.devarshi.dev/what-is-digitalocean-everything-you-need-to-know)
- [How to Install and Set Up a Ghost Blog on AWS Lightsail](https://blog.devarshi.dev/how-to-install-and-setup-a-ghost-blog-on-aws-lightsail)