{
"editor.renderControlCharacters": true,
"editor.renderWhitespace": "all",
"window.zoomLevel": 1,
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
// 调大单行显示字符数(本人不喜欢换行显示,拖动屏幕也乐意。。)
"wrap_line_length": 500,
// 防止html属性换行,配合下面的js-beautify-html
"wrap_attributes": "auto",
"end_with_newline": false
}
},
"git.autofetch": true,
"git.confirmSync": false,
// tab改成4个空格
"vetur.format.options.tabSize": 4,
//
"vetur.format.defaultFormatter.html": "js-beautify-html",
// 防止js格式化时,参数换行
"vetur.format.defaultFormatter.js": "vscode-typescript"
}