vscode-settings配置
作者:互联网
{
// 文字加粗
"editor.fontWeight": "bold",
"files.autoSave": "afterDelay",
"eslint.run": "onSave",
"eslint.alwaysShowStatus": true,
"editor.mouseWheelZoom": true,
"path-intellisense.mappings": {
"@": "${workspaceRoot}/src", // '/'显示路径
"/": "${workspaceRoot}/" // '@' 显示路径
},
// 工具-tab缩进
"emmet.showSuggestionsAsSnippets": true,
"emmet.triggerExpansionOnTab": true,
"editor.tabCompletion": "on",
"workbench.colorTheme": "Monokai",
"git.autofetch": true,
"editor.minimap.enabled": false,
"workbench.editor.untitled.hint": "hidden",
"security.workspace.trust.untrustedFiles": "open",
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"editor.formatOnSave": true,
"vetur.format.defaultFormatterOptions": {
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "none",
}
},
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.useWorkspaceDependencies": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"vetur.format.defaultFormatter.js": "vscode-typescript",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"path-intellisense.extensionOnImport": true,
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "none",
"bracketPairColorizer.depreciation-notice": false,
"editor.tabSize": 2,
}
标签:workbench,false,settings,vscode,format,配置,editor,true,vetur 来源: https://www.cnblogs.com/yanjuntao/p/16073534.html