蓝色版本是 稳定版本,绿色Insider 是测试版本功能多
1、vscode-fileheader
添加文件头
2、reactjs code snippets
react 开发的一些简写,提高开发效率
3、Path Autocomplete
路径提示功能
4、Document This
标注注释
5.ESLint
检查代码是否正常
6.Prettier-code formatter
格式化代码
7.Guides
8.Code Runner
//右键执行 run code9.gitlens // git
//git 通用 显示文字 git history的惯用
vscode 适用jsx语法
首先,得有prettier 和ESlint 插件
然后, 文件 --> 首选项 ---> 设置 ---> 右上角设置 {}
添加
"editor.formatOnSave": true,
"javascript.format.enable": false,
"prettier.eslintIntegration": true,