111111

80 阅读1分钟
{
  // 在 js 文件中启用 emmet 语法
  "emmet.includeLanguages": {
    "javascript": "javascriptreact"
  },
  // 按tab键展开 emmet 语法
  "emmet.triggerExpansionOnTab": true,
  // 默认使用prittier作为格式化工具
  "editor.defaultFormatter": "esbenp.prettier-vscode",

  // 不要有分号
  "prettier.semi": false,
  // 使用单引号
  "prettier.singleQuote": true,
  "editor.suggest.snippetsPreventQuickSuggestions": false,
  "window.zoomLevel": 1,
  "explorer.confirmDelete": false,
  "[html]": {},
  "files.autoSave": "onFocusChange",
  "[css]": {},
  "less.compile": {
    "out": "../css/"
  },
  "editor.suggestSelection": "first",
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  "cssrem.rootFontSize": 12,
  "bracket-pair-colorizer-2.depreciation-notice": false,
  "bracketPairColorizer.depreciation-notice": false,
  "tabnine.experimentalAutoImports": true,
  "git.ignoreWindowsGit27Warning": true,
  "workbench.iconTheme": "vscode-icons",
  "editor.tabSize": 2,
  "eslint.enable": true,
  "eslint.format.enable": true,
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  },
  "[javascript]": {},
  "eslint.validate": ["javascript", "javascriptreact"],
  "vetur.ignoreProjectWarning": true,
  "vetur.format.defaultFormatter.js": "vscode-typescript",
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_line_length": 80, //[auto|force|force-aligned|force-expand-multiline]
      "wrap_attributes": "force-expand-multiline"
    }
  },
  "git.ignoreLimitWarning": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "git.confirmSync": false,
  "eslint.quiet": true,
  "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
  "javascript.preferences.quoteStyle": "single",
  "javascript.format.insertSpaceAfterConstructor": true,
  "editor.formatOnSave": true,
  "eslint.workingDirectories": [
    ".eslintrc.js",
    {
      "mode": "auto"
    }
  ],
  "vetur.format.defaultFormatter.html": "js-beautify-html",
  "vetur.validation.template": false,
  "vsicons.dontShowNewVersionMessage": true,
  "editor.guides.bracketPairs": true,
  "editor.unicodeHighlight.nonBasicASCII": false
}