VSCode拓展插件推荐(HTML、Node、Vue、React开发均适用)

2022-08-20 14:19:12

插件列表

名称简述
Auto Close Tag自动闭合HTML标签
Auto ImportTypescript自动import提示
Auto Rename Tag修改HTML标签时,自动修改匹配的标签
Beautify css/sass/scss/lesscss/sass/less格式化
Better Comments编写更加人性化的注释
Bookmarks添加行书签
Can I UseHTML5、CSS3、SVG的浏览器兼容性检查
Code Runner运行选中代码段(支持大量语言,包括Node)
Code Spellchecker单词拼写检查
CodeBing在VSCode中弹出浏览器并搜索,可编辑搜索引擎
Color Highlight颜色值在代码中高亮显示
Color Info小窗口显示颜色值,rgb,hsl,cmyk,hex等等
Color Picker拾色器
Document This注释文档生成
ESLintESLint插件,高亮提示
EditorConfig for VS CodeEditorConfig插件
Emoji在代码中输入emoji
File Peek根据路径字符串,快速定位到文件
Font-awesome codes for htmlFontAwesome提示代码段
Git Blame在状态栏显示当前行的Git信息
Git History(git log)查看git log
GitLens显示文件最近的commit和作者,显示当前行commit信息
Guides高亮缩进基准线
Gulp SnippetsGulp代码段
HTML CSS Class CompletionCSS class提示
HTML CSS Supportcss提示(支持vue)
HTMLHintHTML格式提示
htmltagwrap包裹HTML
Import Cost行内显示导入(import/require)的包的大小
Indenticator缩进高亮
IntelliSense for css class namescss class输入提示
JavaScript (ES6) code snippetsES6语法代码段
JavaScript Standard StyleStandard风格
JSON to TSJSON结构转化为typescript的interface
JSON Tools格式化和压缩JSON
Less IntelliSenseless变量与混合提示
LodashLodash代码段
Log Wrapper生产打印选中变量的代码
MochaSnippetsMocha代码段
Node modules resolve快速导航到Node模块
Code Outline展示代码结构树
Output Colorizer彩色输出信息
Partial Diff对比两段代码或文件
Path Autocomplete路径完成提示
Path Intellisense另一个路径完成提示
PostCss Sortingcss排序
Prettify JSON格式化JSON
Project Manager快速切换项目
Quokka.js不需要手动运行,行内显示变量结果
REST Client发送REST风格的HTTP请求
React Native Storybooksstorybook预览插件,支持react
React Playground为编辑器提供一个react组件运行环境,方便调试
React Standard Style code snippetsreact standar风格代码块
Sasssass插件
Settings SyncVSCode设置同步到Gist
Sort Typescript Importstypescript的import排序
Sort lines排序选中行
String Manipulation字符串转换处理(驼峰、大写开头、下划线等等)
Syncingvscode设置同步到gist
TODO ParserTodo管理
TS/JS postfix completionts/js前缀提示
TSLintTypeScript语法检查
Test Spec Generator测试用例生成(支持chai、should、jasmine)
TypeScript ImportTS自动import
TypeSearchTS声明文件搜索
Types auto installer自动安装@types声明依赖
VSCode Great Icons文件图标拓展
Version Lenspackage.json文件显示模块当前版本和最新版本
View Node Package快速打开选中模块的主页和代码仓库
VueHelperVue2代码段(包括Vue2 api、vue-router2、vuex2)
filesize状态栏显示当前文件大小
ftp-sync同步文件到ftp
gitignore.gitignore文件语法
htmltagwrap快捷包裹html标签
language-stylusStylus语法高亮和提示
markdownlintMarkdown格式提示
npm Intellisense导入模块时,提示已安装模块名称
npm运行npm命令
stylelintcss/sass/less代码风格
vetur目前比较好的Vue语法高亮
vscode-database操作数据库,支持mysql和postgres
vscode-icons文件图标,方便定位文件
vscode-random随机字符串生成器
vscode-styled-componentsstyled-components高亮支持
vscode-styled-jsxstyled-jsx高亮支持

附录:个人的VSCode首选项配置(仅供参考)

{
  "editor.tabSize": 2,
  "files.associations": {
      "*.vue": "vue"
  },
  "eslint.autoFixOnSave": true,
  "eslint.options": {
      "extensions": [
          ".js",
          ".vue"
      ]
  },
  "eslint.validate": [
      "javascript",
      "javascriptreact",
      "vue",
      "vue-html"
  ],
  "search.exclude": {
      "**/node_modules": true,
      "**/bower_components": true,
      "**/dist": true
  },
  "emmet.syntaxProfiles": {
      "javascript": "jsx",
      "vue": "html",
      "vue-html": "html"
  },
  "git.confirmSync": false,
  "window.zoomLevel": 0,
  "vsicons.projectDetection.autoReload": true,
  "typescript.check.tscVersion": false,
  "editor.renderWhitespace": "boundary",
  "editor.cursorBlinking": "smooth",
  "workbench.colorTheme": "Solarized Light",
  "workbench.iconTheme": "vscode-great-icons",
  "editor.minimap.enabled": true,
  "editor.minimap.renderCharacters": false,
  "tslint.autoFixOnSave": true,
  "editor.fontFamily": "'Droid Sans Mono', 'Courier New', monospace, 'Droid Sans Fallback'",
  "beautify.tabSize": 2,
  "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}",
  "typescript.extension.sortImports.maxNamedImportsInSingleLine": 5,
  "typescript.extension.sortImports.omitSemicolon": true,
  "editor.codeLens": true,
  "editor.snippetSuggestions": "top",
  "react-native-storybooks.port": 6006
}

转载于:https://my.oschina.net/liuyuantao/blog/1538448

  • 作者:weixin_34117522
  • 原文链接:https://blog.csdn.net/weixin_34117522/article/details/92479366
    更新时间:2022-08-20 14:19:12