zoukankan      html  css  js  c++  java
  • vscode golang vue配置

    {
        "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": "
    ",
        "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
       }
    }
  • 相关阅读:
    JavaEE 第四周
    JavaEE 第三周
    JavaEE 第二周
    JavaEE 第一周
    js字符串方法
    javaee项目库存管理系统总结
    javaee期末团队项目库存管理系统概要信息
    JAVAEE第十一周
    JSON
    Facelets
  • 原文地址:https://www.cnblogs.com/Dong-Ge/p/11236896.html
Copyright © 2011-2022 走看看