VScode插件和setting.json配置文件
 
1、VScode插件
 

 
2、setting.json-kui
 
{
  
  "editor.detectIndentation": false,
  
  "editor.tabSize": 2,
  
  "editor.formatOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "html",
    "vue"
  ],
  
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  
  "prettier.eslintIntegration": true,
  
  "prettier.semi": false,
  
  "prettier.singleQuote": true,
  
  "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
  
  "vetur.format.defaultFormatter.js": "vscode-typescript",
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "force-aligned"
      
    }
  },
  "explorer.confirmDelete": false,
  "explorer.confirmDragAndDrop": false,
  "editor.renderControlCharacters": true,
  "editor.renderWhitespace": "all",
  "eslint.format.enable": true,
  "[typescript]": {
    "editor.defaultFormatter": "dbaeumer.vscode-eslint"
  },
  "[html]": {
    "editor.defaultFormatter": "vscode.html-language-features"
  },
  "[javascript]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
  }
}
 
3、setting.json-yang
 
{
    "editor.fontSize": 16,
    "[html]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "liveServer.settings.host": "192.168.43.180",
    "editor.mouseWheelZoom": true,
    "editor.renderIndentGuides": false,
    "typescript.tsdk": "",
    
    "launch": {
        "configurations": [],
        "compounds": []
    },
    "[javascript]": {
        "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "explorer.confirmDelete": false,
    "[json]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    },
    "workbench.iconTheme": "material-icon-theme",
    "terminal.integrated.tabs.enabled": false,
    "easysass.formats": [
        {
            "format": "expanded",
            "extension": ".css"
        },
        {
            "format": "compressed",
            "extension": ".min.css"
        }
    ],
    "gitlens.codeLens.scopes": [
        "document",
        "containers",
        "blocks"
    ],
    "vetur.format.defaultFormatterOptions": {
        "js-beautify-html": {
            "wrap_line_length": 240,
            "wrap_attributes": "auto",
            "end_with_newline": false
        },
        "prettyhtml": {
            "printWidth": 100,
            "singleQuote": false,
            "wrapAttributes": false,
            "sortAttributes": false
        }
    },
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "typescript.locale": "zh-CN",
    
    "eslint.autoFixOnSave": true,
    "eslint.options": {
        "configFile": "./.eslintrc.js",
        "extensions": [
            "html",
            ".js",
            ".vue"
        ]
    },
    "eslint.validate": [
        "javascript",
        
        {
            "language": "vue",
            "autoFix": true
        },
        
        {
            "language": "html",
            "autoFix": true
        }
    ],
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "editor.unicodeHighlight.ambiguousCharacters": false,
    "[vue]": {
        "editor.defaultFormatter": "octref.vetur"
    },
    "editor.unicodeHighlight.invisibleCharacters": false,
    "git.confirmSync": false,
}{
    "editor.fontSize": 16,
    "[html]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "liveServer.settings.host": "192.168.43.180",
    "editor.mouseWheelZoom": true,
    "editor.renderIndentGuides": false,
    "typescript.tsdk": "",
    
    "launch": {
        "configurations": [],
        "compounds": []
    },
    "[javascript]": {
        "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "explorer.confirmDelete": false,
    "[json]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    },
    "workbench.iconTheme": "material-icon-theme",
    "terminal.integrated.tabs.enabled": false,
    "easysass.formats": [
        {
            "format": "expanded",
            "extension": ".css"
        },
        {
            "format": "compressed",
            "extension": ".min.css"
        }
    ],
    "gitlens.codeLens.scopes": [
        "document",
        "containers",
        "blocks"
    ],
    "vetur.format.defaultFormatterOptions": {
        "js-beautify-html": {
            "wrap_line_length": 240,
            "wrap_attributes": "auto",
            "end_with_newline": false
        },
        "prettyhtml": {
            "printWidth": 100,
            "singleQuote": false,
            "wrapAttributes": false,
            "sortAttributes": false
        }
    },
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "typescript.locale": "zh-CN",
    
    "eslint.autoFixOnSave": true,
    "eslint.options": {
        "configFile": "./.eslintrc.js",
        "extensions": [
            "html",
            ".js",
            ".vue"
        ]
    },
    "eslint.validate": [
        "javascript",
        
        {
            "language": "vue",
            "autoFix": true
        },
        
        {
            "language": "html",
            "autoFix": true
        }
    ],
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "editor.unicodeHighlight.ambiguousCharacters": false,
    "[vue]": {
        "editor.defaultFormatter": "octref.vetur"
    },
    "editor.unicodeHighlight.invisibleCharacters": false,
    "git.confirmSync": false,
}