{
"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.triggerExpansionOnTab": true,
"emmet.showAbbreviationSuggestions": true,
"emmet.showExpandedAbbreviation": "always",
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html",
"javascript": "javascriptreact",
"wxml": "html",
"postcss": "css"
},
"eslint.options": {
"extensions": [".js", ".vue"]
},
"eslint.validate": [
"javascript",
"javascriptreact",
"vue",
"html",
"typescriptreact",
"typescript"
],
"eslint.enable": false,
"eslint.run": "onSave",
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"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,
"cssrem.rootFontSize": 100,
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript",
"*.css": "postcss"
},
"vue-format.break_attr_limit": 3,
"vetur.validation.template": false, // vetur语法报错
"vetur.format.defaultFormatterOptions": {
"prettier": {
// "singleQuote": true,
// "semi": false,
// "printWidth": 120
},
// 对属性进行换行。
// - auto: 仅在超出行长度时才对属性进行换行。
// - force: 对除第一个属性外的其他每个属性进行换行。
// - force-aligned: 对除第一个属性外的其他每个属性进行换行,并保持对齐。
// - force-expand-multiline: 对每个属性进行换行。
// - aligned-multiple: 当超出折行长度时,将属性进行垂直对齐。
"js-beautify-html": {
"singleQuote": true,
"semi": false,
"wrap_line_length": 100,
"wrap_attributes": "force-expand-multiline",
"end_with_newline": false
}
},
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.experimental.templateInterpolationService": false,
// "vetur.format.defaultFormatter.html": "prettyhtml",
"vetur.format.defaultFormatter.css": "prettier",
"vetur.format.defaultFormatter.postcss": "prettier",
"vetur.format.defaultFormatter.scss": "prettier",
"vetur.format.defaultFormatter.less": "prettier",
"vetur.format.defaultFormatter.stylus": "stylus-supremacy",
"vetur.format.defaultFormatter.ts": "prettier",
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[css]": {
"editor.defaultFormatter": "numso.prettier-standard-vscode"
},
"settingsSync.ignoredSettings": [],
"editor.suggestSelection": "first",
"editor.suggest.snippetsPreventQuickSuggestions": false,
"[java]": {
"editor.suggest.snippetsPreventQuickSuggestions": false
},
"search.followSymlinks": false,
"typescript.locale": "zh-CN",
"[typescriptreact]": {
"editor.defaultFormatter": "numso.prettier-standard-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"sync.gist": "b1192647ba1e710d8bd1edf90e44608f",
"git.confirmSync": false,
"[jsonc]": {
"editor.defaultFormatter": "numso.prettier-standard-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "numso.prettier-standard-vscode"
},
"[scss]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"diffEditor.ignoreTrimWhitespace": false,
"editor.language.brackets": [],
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.bracketPairColorization.enabled": true,
"editor.rulers": []
// "editor.language.brackets": false,
// "editor.language.colorizedBracketPairs": false
}