Home>Article>Development Tools> Front-end plug-in to improve development efficiency in vscode (share)

Front-end plug-in to improve development efficiency in vscode (share)

青灯夜游
青灯夜游 forward
2021-02-01 17:14:55 2583browse

This article shares with youvscodeCommon plug-ins for the front end. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

Front-end plug-in to improve development efficiency in vscode (share)

Related recommendations: "vscode tutorial"

vscode Introduction

  • vscode is a code editor developed byMicrosoft. As stated on the official website, vscode redefines the code editor.

  • The most commonly used

    light code editorscurrently on the market are: sublime, notepad, editplus, and atom.

  • Compared with notepad and editplus, vscode integrates many functions that only

    IDEhas, and is more like a code editor than them;

  • Compared with sublime, vscode

    looks better, and it is more convenient to install and configure plug-ins;

  • Compared with atom, vscode

    starts The speed is faster,can open various large files without lag.

  • It can be said that vscode not only has a high degree of freedom, but also has high performance and good looks. The most important thing is that vscode is free and has a team. Continuously and rapidly updated code editor.

    It can be said that vscode is the first choice for code editor. Personally recommend that when writing front-end code,
  • choose vscode for the code editor and WebStorm for the IDE.
  • #vscode To install the plug-in, you only need to click the button shown in the picture to enter the extension. Enter the plug-in name in the search box and click to install. Wait for the installation to complete and click
  • Reload
  • Restart vscode to make the plug-in take effect.



    When you don’t need a plug-in, just enter the extension and click the gear button in the lower right corner of the corresponding plug-in to choose
  • Disable or Uninstall
  • the plug-in.



Commonly used front-end plug-ins

Must have Install, the recommended one depends on your needs, if you understand it, don’t install it!!!

1.Auto Close Tag (required)

Automatically close HTML/XML Tag

2.Auto Rename Tag (required)

Automatically complete the synchronized modification of the tag on the other side

3. Beautify (required)


Format html, js, css

Poke here for the configuration method and shortcut key configuration in vue

Another Prettier

Formatted JavaScript / TypeScript / CSS

Configuration tutorial click here

4.Bracket Pair Colorizer (required)

Add different colors to the brackets to distinguish different blocks. Users can define different bracket types and colors

##5.Debugger for Chrome (Recommended)

Map breakpoints on vscode to chrome for easy debugging
Poke here for debugging methods

6.ESLint (recommended)

js syntax error correction, you can customize the configuration, but the configuration is more complicated. It is recommended to use some widely used eslint configurations on the Internet. In the future, I I will also write an article specifically on eslint configuration.

7.GitLens (essential for using git)

Easy to view git logs, a must for heavy git usersUsage tutorial

8.HTML CSS Support (required)

Smart prompt CSS class name and id

9.HTML Snippets (required)

Intelligent prompts for HTML tags and tag meanings

10.JavaScript(ES6) code snippets (required)

ES6 syntax smart prompts and fast input, not only support .js, but also .ts,. jsx, .tsx, .html, .vue, saving the time of configuring it to support various files containing js code

11.jQuery Code Snippets (recommended )

jQuery Code Smart Tips

##12.Markdown Preview Enhanced (recommended)

Real-time preview of markdown, a must for markdown users

13.markdownlint (recommended)

markdown syntax correction

14.Material Icon Theme (recommended)

vscode icon theme supports changing icons of different colors, it is worth clicking What is surprising is that the plug-in is updated extremely frequently, basically consistent with the update frequency of vscode

Minimalism is not necessary

Another Set directory tree icon theme vscode-icons

Usage method, configure the following json

15.open in browser (required)

vscode is not like IDE that can directly open html in the browser, but this plug-in supports shortcut keys and the right mouse button to quickly open in the browser html file, supports custom opening of specified browsers, including: Firefox, Chrome, Opera, IE and Safari

Set the default browser

16.Path Intellisense (required)

Automatically prompts file paths and supports various quick import files

17.React/Redux/react-router Snippets (recommended)(react essential)
##React/Redux/react-router syntax smart tips

Additional two

1) React-Native/React/Redux snippets for es6/es7

react Code snippets, lots of downloads

2) react-beautify

Format javascript, JSX, typescript, TSX files

18 .Vetur (recommended) (must have for vue)


Vue multi-functional integrated plug-in, including: syntax highlighting, smart prompts, emmet, error prompts, formatting, auto-completion, debugger . vscode officially designated Vue plug-in, a must-have for Vue developers.

Add two more:

1) VueHelper

vue code snippet

2) Vue TypeScript Snippets

vue typescript code snippet

3) Vue 2 Snippets

vue 2 code snippet

19.Dracula Official (recommended)

A very nice theme style

like this

20.filesize (understand)

View file size

20.HTMLHint(Understand)

Static check rules Click here for specific rules

21. Class autocomplete for HTML (recommended)

Smart prompt HTML class="" attribute (required)

22. IntelliSense for CSS class names (recommended)

Intelligent prompts for CSS class names

23. Npm Intellisense (node essential)

require package prompt

If there are any good plug-ins, I will provide them at any time Supplement~~~

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

The above is the detailed content of Front-end plug-in to improve development efficiency in vscode (share). For more information, please follow other related articles on the PHP Chinese website!

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