vsCode自定义setting-json

  "workbench.colorCustomizations": {
    "activityBar.background": "#020f18",
    "titleBar.activeBackground": "#01101b",
    "titleBar.activeForeground": "#b5d0dd"
  },
  "editor.formatOnSave": false, //保存时自动格式化
  "editor.fontSize": 14,
  "editor.fontFamily": "Hack, 'Courier New', monospace",
  "editor.fontWeight": "normal",
  "editor.fontLigatures": true,
  "editor.tabSize": 2,
  "editor.lineHeight": 23,
  "diffEditor.ignoreTrimWhitespace": false,
  "editor.suggestSelection": "first",
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  "files.autoSave": "off",
  "[javascript]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
  },
  "vetur.format.defaultFormatter.html": "js-beautify-html",
  // vetur 的自定义设置
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_line_length": 500,
      "wrap_attributes": "auto",
      "end_with_newline": false
    },
    "prettyhtml": {
      "printWidth": 500,
      "singleQuote": false,
      "wrapAttributes": false,
      "sortAttributes": false
    }
  },
  "vetur.format.defaultFormatter.js": "vscode-typescript",
  "[vue]": {
    "editor.defaultFormatter": "hikerpig.vetur"
    // "editor.defaultFormatter": "esbenp.prettier-vscode"
    // "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "todo-tree.tree.showScanModeButton": false,
  "vsicons.dontShowNewVersionMessage": true,
  "[html]": {
    "editor.defaultFormatter": "vscode.html-language-features"
  },
  "files.associations": {
    "*.nvue": "vue",
    "*.json": "json"
  },
  "window.zoomLevel": 0,
  "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
  },
  "task.problemMatchers.neverPrompt": null,
  "http.proxyAuthorization": null
}

你可能感兴趣的:(vsCode自定义setting-json)