编辑vue时候的用户配置
{
  "workbench.colorTheme": "Solarized Dark", // 主题
  "editor.detectIndentation": false, // 防止覆盖掉设置的缩进
  "editor.wordWrap": "on", // 自动折行
  "editor.formatOnPaste": true, // 粘贴时自动格式化
  "javascript.validate.enable": false, // 关闭默认的js验证,js中使用flow或ts语法会报错,需要关闭
  "vetur.format.options.tabSize": 4,

  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    {
      "language": "html",
      "autoFix": true
    },
    {
      "language": "vue",
      "autoFix": true
    },
    {
      "language": "javascript",
      "autoFix": true
    },
    {
      "language": "javascriptreact",
      "autoFix": true
    }
  ],
}
 


有flow时工作区配置
{
   "flow.pathToFlow": "${workspaceRoot}/node_modules/.bin/flow",
   "flow.useNPMPackagedFlow": true,
   "javascript.validate.enable": false,
}

插件

1. Chinese (Simplified) Language Pack for Visual Studio Code  中文语言包

2. Vue.js Extension Pack vue的扩展包

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-03
  • 2021-07-18
  • 2021-11-29
  • 2022-12-23
相关资源
相似解决方案