Extension html visual studio code

Visual studio code, arguably the best code editor to use at the present time. Due to its wide range of extensions and support from Microsoft this editor is widely adopted.

Visual studio code is built on top of an open-source Monaco editor by Microsoft. This project receives around 14k stars in Github.

Visual studio code offers a wide range of extensions. Here is how to install the extension.

Press SHIFT+COMMAND [or Windows]+X or just click on the extension icon of visual studio code. Search for the extension and press install.

Here I am listing down the top 15 best visual studio code extensions for web development. The choices of the extension are my personal opinion.

1: Javascript [ES6] Code Snippets

No need to mention that JavaScript is the core of web development. There are lots of code snippets that we used on a daily basis and this extension helps you by not writing that repetitive code again and again.

It provides JavaScript, TypeScript, Vue, React, and HTML code snippets. I personally believe this is a must-have extension for web development.

Link: //marketplace.visualstudio.com/items?itemName=xabikos.JavaScriptSnippets

You can install it by searching the name on the extension section of the visual studio code.

2: CSS Peek

As its name suggests, this extension lets you jump to the CSS code using classes and IDs.

Link: //marketplace.visualstudio.com/items?itemName=pranaygp.vscode-css-peek

You can install it by searching the name on the extension section of the visual studio code.

3: Auto Close Tag

This extension automatically adds the closing tag of HTML and XML. Thank me later 🙂

Link: //marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag

You can install it by searching the name on the extension section of the visual studio code.

4: REST Client

Testing API and integration to the UI is a huge part of web development. I am sure you have done it so many times.

I often used REST clients such as Postman to test my APIs. Using this extension, we can test APIs and view their response directly in the visual studio code.

via GIPHY

Link: //marketplace.visualstudio.com/items?itemName=humao.rest-client

You can install it by searching the name on the extension section of the visual studio code.

5: ESLint

ESLint is the linting utility for JavaScript. It checks your code for common errors and lets you know in the editor itself. It’s like a virtual peer who is validating your code while you are writing it.

Link: //marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint

You can install it by searching the name on the extension section of the visual studio code.

Before installing ESLint in visual studio, install it as a global package first.

6: Prettier – Code formatter

This extension performs the formatting of the JavaScript, CSS, and HTML code.

Link: //marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

You can install it by searching the name on the extension section of the visual studio code.

7: Path Intellisense

Importing code from other files is what everyone does on a daily basis. This extension makes the development time faster by autocompleting file names.

You type the name of the file in statements and it will search and give you suggestions.

Link: //marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense

You can install it by searching the name on the extension section of the visual studio code.

8: GitLens

We use Git almost every day of our life. GitLens is the visual studio code plugin to supercharge git capabilities.

With GitLens, it’s so easy to view code authorship, check commit number, view changes between the last commit and existing changes, and so on.

Link: //marketplace.visualstudio.com/items?itemName=eamodio.gitlens
You can install it by searching the name on the extension section of the visual studio code.

9: Project Manager

Do you work on multiple projects and switch back and forth? I know I do and the project manager has been a savior to manage multiple projects in visual studio code.

Link: //marketplace.visualstudio.com/items?itemName=alefragnani.project-manager

You can install it by searching the name on the extension section of the visual studio code.

10: Live Server

Live Server extension provides the live preview of your web application right within the editor.

This is very handy and useful for the front end developers.

Link: //marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
You can install it by searching the name on the extension section of the visual studio code.

11: Debugger for Chrome

This extension brought the powerful chrome debugger right into the visual studio code.

It is very useful for front-end developers to perform the testing and debugging.

via GIPHY

Link: //marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome
You can install it by searching the name on the extension section of the visual studio code.

12: Better Comments

This extension helps you to create more human-friendly and easy-to-read comments.

Link: //marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
You can install it by searching the name on the extension section of the visual studio code.

13: Code time

This extension tracks your development time and provides you with useful stats such as how many hours you have code today etc.

It’s pretty useful to keep track and see the progress. This is not strictly for web development only, anyone can use this extension.

Link: //marketplace.visualstudio.com/items?itemName=softwaredotcom.swdc-vscode
You can install it by searching the name on the extension section of the visual studio code.

14: Settings Sync

I use a different machine for my work and personal use. I use visual studio code in both machines, however, I don’t want to repeat the same steps to configure the editor every time.

Enters Setting Sync extension. It creates and stores your configuration in Github gist and synchronizes wherever you want. Simple and awesome!

Link: //marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
You can install it by searching the name on the extension section of the visual studio code.

15: Polacode

Like code snippet like this?

Then this extension is for you. We can use this extension to create a beautiful code polaroid and share it.

Link: //marketplace.visualstudio.com/items?itemName=pnp.polacode

You can install it by searching the name on the extension section of the visual studio code.

Conclusion

If you like this article, please do share it on social media to help spread the word. Thanks for the read!

Further Study

Top 5 Must Have Visual Studio Code Extensions
Node.js MySQL Tutorial
All Programming Articles of Codeforgeek
How to Check If a File Exists in Node.js

What is the HTML extension for VS Code?

The VSCode extension HTML Boilerplate provides us an extension that handles all the boilerplate code. We just have to write a single line and the entire boilerplate of HTML will be imported into our file. It includes all the necessary tags along with the meta tags that are generally required.

Which is the best extension for HTML in Visual Studio code?

Beautify. This extension is used for formatting files like HTML. The unformatted code in these files is converted into formatted, readable code by this extension. You can set this setting in the VS Code preferences, which will then automatically format all the code you have typed in the editor.

How do I add HTML code to Visual Studio?

We'd recommend that you watch the above video and then follow the written steps below..
Make a development folder. Navigate to a folder using your file manager or the terminal. ... .
Open Visual Studio Code..
Open your development folder. ... .
Add a file. ... .
Begin coding! ... .
View your HTML file in the browser..

Chủ Đề