tree缩进稍微清晰点
tab=》4格空格
格式化属性不换行
取消vscode的eslint检查
内容为:
{
"editor.accessibilitySupport": "on",
"workbench.tree.indent": 25,
"html.format.endWithNewline": true,
"html.format.wrapAttributes": "preserve",
"html.format.wrapLineLength": 0,
"vetur.format.options.tabSize":4,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_line_length": 500,
"wrap_attributes": false,
"end_with_newline": false
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
}
},
"git.enableSmartCommit": true,
"vetur.format.styleInitialIndent": true,
"vetur.format.scriptInitialIndent": true,
"vetur.format.options.useTabs": true,
"vetur.validation.template": false
}
文件-》首选项-》设置
取消勾勾;
暂时保存这些