Home >Development Tools >VSCode >7 vscode plug-ins that vue developers cannot miss

7 vscode plug-ins that vue developers cannot miss

青灯夜游
青灯夜游forward
2021-04-23 09:54:424485browse

This article will introduce to you 7 vscode plug-ins that vue developers cannot miss. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

7 vscode plug-ins that vue developers cannot miss

Recommended study: "vscode tutorial"

Adding useful plug-ins to VSCode can improve our development efficiency. These can help us format, extensibility, implement best-practice code methods, and automate some trivial things. Okay, without further ado, let’s get started!

1、Vetur

7 vscode plug-ins that vue developers cannot miss

##Vetur supports

.vueFile syntax highlighting, in addition to supporting template templates, it also supports most mainstream front-end development scripts and plug-ins, such as Sass and TypeScript. The complete supported syntax highlighting is as follows:

7 vscode plug-ins that vue developers cannot miss

Vetur is well maintained and it even provides support for

Vue3 Typescript.

There isn’t much to say about Vetur – if you haven’t used it yet, get started quickly.

2、ESLint Plugin VueJS

7 vscode plug-ins that vue developers cannot miss## Most developers are familiar with ESLint, one of the most popular linter tools that helps us keep our code consistent with best practices and readable across large code bases.

VueJS has its own ESLint plugin to check the syntax of single file components. I think it's one of the best tools for writing maintainable and scalable code.

There is nothing worse than looking at some old code and not even knowing where to start debugging it.

Don't worry!

ESLint can help you stay organized, and with the addition of support for Vue3, you can write scalable Vue projects.

3,

Vue VSCode SnippetsThis plug-in adds syntax highlighting based on the latest Vue official syntax highlighting file light, and added code snippets based on the Vue 2 API.

It's great for writing things like fast SFCs, Vue directives, and quick access to lifecycle hooks.

4、

Bookmarks

7 vscode plug-ins that vue developers cannot miss##Many VSCode Plugins only really show their full potential on large projects.

Bookmarks allow us to mark and name locations in our code. We can then jump between these different bookmarks to speed up our development.

Gone are the days when we had to carefully scroll up and down our files in order to find a certain feature.

5、

Bracket Pair Colorizer

## Bracket Pair Colorizer adds a pop of color to brackets in your code. I also really like the visual effect – it makes the code colorful without being distracting. 7 vscode plug-ins that vue developers cannot miss

6,

Auto Rename TagAutomatically close the tag, after typing in the closing bracket of the opening tag, Automatically insert closing tags. Whenever we want to change one tag (opening or closing tag) in the HTML bracket pair, Auto Rename Tag will automatically rename the other tag.

This small optimization can help prevent a lot of errors, especially when dealing with large templates.

7、

NPM Intellisense

When importing a package, NPM Intellisense will automatically complete our npm module.

This saves us time in remembering the exact name of the npm module. This is also one of my must-have plug-ins.

For more programming related knowledge, please visit: Programming Video! !

The above is the detailed content of 7 vscode plug-ins that vue developers cannot miss. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete