码迷,mamicode.com
首页 > 其他好文 > 详细

vscode golang vue配置

时间:2019-07-24 11:44:58      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:use   format   bsp   文件   errors   build   only   for   option   

{
    "files.autoSave": "off",
    "window.title": "${dirty}${activeEditorLong}${separator}${rootName}${separator}${appName}",
    "go.languageServerExperimentalFeatures": {
        "diagnostics": true // for build and vet errors as you type
    },
    "[go]": {
        "editor.snippetSuggestions": "none",
        "editor.formatOnSave": true,
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        }
    },
    "gopls": {
        "usePlaceholders": true // add parameter placeholders when completing a function
    },
    "files.eol": "\n",
    "workbench.editor.enablePreview": false,
    "editor.fontSize": 16, // formatting only supports LF line endings
    //配置eslint
   "eslint.autoFixOnSave": true,
   "files.autoSave": "off",
   "eslint.validate": [
      "javascript",
      "javascriptreact",
      "html",
      {
         "language": "vue",
         "autoFix": true
      }
   ],
   // 改为你的文件路径
   "eslint.options": {
      "configFile": "./.eslintrc.js"
   },
   //为了符合eslint的两个空格间隔原则
   "editor.tabSize": 2,
   "editor.quickSuggestions": {
      "strings": true
   }
}

 

vscode golang vue配置

标签:use   format   bsp   文件   errors   build   only   for   option   

原文地址:https://www.cnblogs.com/Dong-Ge/p/11236896.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!