美文网首页
vscode settings.json

vscode settings.json

作者: Eden0204 | 来源:发表于2020-07-27 15:37 被阅读0次

vscode 配置json文件

{
  "window.zoomLevel": -1,
  "editor.fontWeight": "400",
  "editor.fontFamily": "'Menlo','Monaco','Courier New','monospace'",
  "workbench.sideBar.location": "left",
  "editor.fontSize": 16,
  "eslint.alwaysShowStatus": true,
  "debug.console.fontSize": 16,
  "emmet.showAbbreviationSuggestions": true,
  "emmet.showExpandedAbbreviation": "always",
  "emmet.includeLanguages": {
    "vue-html": "html",
    "vue": "html",
    "javascript": "javascriptreact"
  },
  "eslint.options": {
    "extensions": [".js", ".vue"]
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "vue",
    "html",
    "typescriptreact",
    "typescript"
    // {
    //   "language": "vue",
    //   "autoFix": true
    // },
    // {
    //   "language": "typescript",
    //   "autoFix": true
    // }
  ],
  "eslint.enable": true,
  "eslint.run": "onSave",
  // "eslint.autoFixOnSave": true,
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "editor.snippetSuggestions": "top",
  "editor.suggestFontSize": 16,
  "markdown.preview.fontSize": 16,
  "terminal.integrated.fontSize": 16,
  "markdown.preview.lineHeight": 1.8,
  "terminal.integrated.lineHeight": 1.6,
  "workbench.iconTheme": "vscode-icons",
  "workbench.colorTheme": "One Dark Pro",
  "workbench.tree.indent": 18,
  "editor.lineHeight": 36,
  "vsicons.dontShowNewVersionMessage": true,
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  },
  "[html]": {
    "editor.defaultFormatter": "vscode.html-language-features"
  },
  // "[json]": {
  //   "editor.quickSuggestions": {
  //     "strings": true
  //   },
  //   "editor.suggest.insertMode": "replace"
  // },
  "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
  },
  "cssrem.rootFontSize": 100,
  "todo-tree.tree.showScanModeButton": false,
  "files.associations": {}, // vetur语法报错
  "vetur.format.defaultFormatterOptions": {
    "prettier": {
      "singleQuote": true,
      "semi": false,
      "printWidth": 400,
      "wrapAttributes": false,
      "sortAttributes": false
    },
    "js-beautify-html": {
      "wrap_attributes": "auto"
    }
  },
  "javascript.format.insertSpaceBeforeFunctionParenthesis": false,
  "vetur.format.defaultFormatter.js": "vscode-typescript",
  "vetur.format.defaultFormatter.html": "js-beautify-html",
  "[javascript]": {
    "editor.defaultFormatter": "numso.prettier-standard-vscode"
  },
  "vetur.completion.scaffoldSnippetSources": {
    "workspace": "💼"
  },
  "editor.tokenColorCustomizations": null,
  "eslint.codeAction.showDocumentation": {
    "enable": true
  },
  "html.format.wrapLineLength": 500,
  "html.format.wrapAttributes": "auto",
  "html.format.unformatted": "",
  "editor.rulers": [
    
  
  ],
}

相关文章

网友评论

      本文标题:vscode settings.json

      本文链接:https://www.haomeiwen.com/subject/wpbzlktx.html