{
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": false,
"suppressWelcomeNotice": true
},
"editor.tabSize": 2,
"terminal.integrated.shell.windows": "D:\\Program Files\\Git\\bin\\bash.exe",
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "auto"
},
"prettyhtml": {
"printWidth": 300,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
}
},
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"editor.formatOnSave": true,
"gitlens.keymap": "alternate",
"explorer.confirmDelete": false,
"workbench.startupEditor": "newUntitledFile",
"editor.minimap.enabled": false,
"editor.fontSize": 22,
"files.autoSave": "afterDelay",
"explorer.confirmDragAndDrop": false,
"workbench.colorTheme": "Quiet Light",
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
{
"language": "vue",
"autoFix": true
}
],
"eslint.options": {
"plugins": [
"html"
]
},
"workbench.iconTheme": "vscode-icons",
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"emmet.includeLanguages": {
"wxml": "html"
},
"minapp-vscode.disableAutoConfig": true,
"git.confirmSync": false,
"breadcrumbs.enabled": true,
"editor.wordWrap": "on",
"easysass.formats": [
{
"format": "expanded",
"extension": ".css"
},
{
"format": "compressed",
"extension": ".min.css"
}
],
"easysass.targetDir": "./style/",
"gitlens.views.fileHistory.enabled": true,
"gitlens.views.lineHistory.enabled": true,
"less.compile": {
"compress": true, // true => remove surplus whitespace
"sourceMap": true, // true => generate source maps (.css.map files)
"out": "${workspaceRoot}\\style\\", // false => DON'T output .css files (overridable per-file, see below)
},
"editor.detectIndentation": false,
"html.format.wrapAttributes": "auto",
"eslint.autoFixOnSave": true,
"terminal.integrated.rendererType": "dom",
"search.followSymlinks": false,
}
参考链接:
vscode编辑器设置,禁止prettier自动格式化代码
网友评论