vscode 格式化配置
{
"workbench.colorTheme": "Material Theme Darker High Contrast",
"workbench.colorCustomizations": {
"activityBarBadge.background": "#616161",
"list.activeSelectionForeground": "#616161",
"list.inactiveSelectionForeground": "#616161",
"list.highlightForeground": "#616161",
"scrollbarSlider.activeBackground": "#61616150",
"editorSuggestWidget.highlightForeground": "#616161",
"textLink.foreground": "#616161",
"progressBar.background": "#616161",
"pickerGroup.foreground": "#616161",
"tab.activeBorder": "#616161",
"notificationLink.foreground": "#616161",
"editorWidget.resizeBorder": "#616161",
"editorWidget.border": "#616161",
"settings.modifiedItemIndicator": "#616161",
"settings.headerForeground": "#616161",
"panelTitle.activeBorder": "#616161",
"breadcrumb.activeSelectionForeground": "#616161",
"menu.selectionForeground": "#616161",
"menubar.selectionForeground": "#616161",
"editor.findMatchBorder": "#616161",
"selection.background": "#61616140"
},
"materialTheme.accent": "Graphite",
"workbench.iconTheme": "vscode-icons",
"liveServer.settings.donotShowInfoMsg": true,
"terminal.integrated.rendererType": "dom",
"prettier.printWidth": 100,
"editor.fontSize": 14,
"editor.detectIndentation": false,
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-expand-multiline"
},
"prettyhtml": {
"printWidth": 1000,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
}
},
"editor.format.defaultFormatter.js": "vscode-typescript",
"editor.renderWhitespace": "none",
"eslint.autoFixOnSave": true,
"prettier.eslintIntegration": true,
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"css",
"jsx",
{
"language": "html",
"autoFix": true
},
{
"language": "css",
"autoFix": true
}
],
"editor.formatOnSaveTimeout": 500,
"editor.codeActionsOnSaveTimeout": 5000,
"explorer.confirmDelete": false,
"search.followSymlinks": false,
"dart.lineLength": 100,
"prettier.tabWidth": 4,
"editor.tabSize": 4,
"vetur.format.options.tabSize": 4,
"vetur.format.options.useTabs": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"beautify.config": {
"indent_size": 4
},
"javascript.implicitProjectConfig.experimentalDecorators": true,
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": true,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": true,
"editor.formatOnType": true,
"html.format.wrapLineLength": 1000,
"prettier.semi": true,
"prettier.singleQuote": true,
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"vetur.format.defaultFormatter.js": "prettier-eslint",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"[dart]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": true
},
"prettier.jsxBracketSameLine": true,
"prettier.jsxSingleQuote": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"java.configuration.checkProjectSettingsExclusions": false,
"emmet.includeLanguages": {
"wxml": "html"
},
"minapp-vscode.disableAutoConfig": true,
}