<IDE> vscode front-end common plug-ins recommended, build JQuery, Vue and other development environment

vscode is developed by Microsoft of a code editor, as the official website said the same, vscode redefine the (redefined) the code editor. The current common market lightweight code editor mainly: sublime, notepad ++, editplus, atom these types. Compared notepad ++, editplus, vscode incorporates many features that has the IDE, than they are more like a code editor; higher than sublime, vscode color value, more convenient installation configuration plug; compared atom, vscode starting speed faster, open a variety of large files do not card. It can be said, vscode both have a high degree of freedom, but also has high performance and high color value, the most critical is, vscode or a free team and have sustained and rapid updating of the code editor. It can be said, vscode is the preferred code editor. Personal recommendation write front-end code, the code editor to select vscode, IDE select WebStorm.

  vscode install plug-ins only need to click the button as shown in the picture, you can enter to expand, after entering the plug-in name in the search box Click Install, waiting to be installed Click to reload restart vscode makes plug-in effect.

  When you do not need a plug-in extension only need to enter, click on the gear button in the lower right corner of the corresponding plug-in can choose to disable or uninstall the plugin.

 

  Now, I think I will recommend some of the more helpful to write front-end code of vscode plug-ins:

  1.Auto Close Tag

  Automatic closing HTML / XML tags


 

   2.Auto Rename Tag

  Automatically push the changes on the other side of the label

 

  

  3.Beautify

  Formatting code, it is worth noting that, beautify plug-in support for custom formatting code rules, such as:

1
2
3
4
5
6
7
{
   "indent_size" : 4,
   "indent_char" : " " ,
   "css" : {
     "indent_size" : 2
   }
}

  mac version vscode beautify the default formatting code key is cmd + b, can be custom shortcuts

 

 

  4.Bracket Pair Colorizer

  给括号加上不同的颜色,便于区分不同的区块,使用者可以定义不同括号类型和不同颜色

 

 

  5.Debugger for Chrome

  映射vscode上的断点到chrome上,方便调试

 

 

  6.ESLint

  js语法纠错,可以自定义配置,不过配置较为复杂,建议使用网上一些广泛使用的eslint配置,日后我也会专门针对eslint配置写一篇文章。

 

 

  7.GitLens

  方便查看git日志,git重度使用者必备

 

 

  8.HTML CSS Support

  智能提示CSS类名以及id 

 

 

  9.HTML Snippets

  智能提示HTML标签,以及标签含义

 

 

  10.JavaScript(ES6) code snippets

  ES6语法智能提示,以及快速输入,不仅仅支持.js,还支持.ts,.jsx,.tsx,.html,.vue,省去了配置其支持各种包含js代码文件的时间

 

 

  11.jQuery Code Snippets

  jQuery代码智能提示

 

 

  12.Markdown Preview Enhanced

  实时预览markdown,markdown使用者必备

 

 

  13.markdownlint

  markdown语法纠错

 

 

  14.Material Icon Theme

  个人认为最好的vscode图标主题,支持更换不同色系的图标,值得点出的是,该插件更新极其频繁,基本和vscode更新频率保持一致

 

 

  15.open in browser

  vscode不像IDE一样能够直接在浏览器中打开html,而该插件支持快捷键与鼠标右键快速在浏览器中打开html文件,支持自定义打开指定的浏览器,包括:Firefox,Chrome,Opera,IE以及Safari

 

 

  16.Path Intellisense

  自动提示文件路径,支持各种快速引入文件

 

 

  17.React/Redux/react-router Snippets

  React/Redux/react-router语法智能提示

 

 

  18.Vetur

  Vue多功能集成插件,包括:语法高亮,智能提示,emmet,错误提示,格式化,自动补全,debugger。vscode官方钦定Vue插件,Vue开发者必备。

 

 

  总结:vscode自从发布以来就横扫各大社区(毕竟微软爸爸),成为了许多开发者的首选代码编辑器。我根据个人vscode使用经验推荐了以上18个插件,希望能对大家有所帮助。同时,也欢迎大家进行交流!

 

  2018.3.19更新:应 @雨雾星天 同学的要求,添加angular相关的vscode插件推荐。

  1.Angular Files

  集成了angular-cli的功能

  

 

  2.Angular 5 Snippets

  angular智能语法提示

 

  

  欢迎大家进行交流~

Guess you like

Origin www.cnblogs.com/isAndyWu/p/11588835.html