{
"editor.wordWrap": "on",
"workbench.editor.revealIfOpen": true,
"zenMode.restore": true,
"workbench.startupEditor": "newUntitledFile",
"window.restoreWindows": "all",
"prettier.semi": false,
"prettier.singleQuote": true,
"prettier.requireConfig": true,
"editor.tabSize": 2,
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"prettyhtml": {
// 单行超过100个长度的时候开始换行
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"wrapAttributes": true,
"sortAttributes": true,
},
"js-beautify-html": {
// "wrap_attributes": "force-expand-multiline"
"wrap_attributes": "auto"
}
},
"vetur.format.defaultFormatter.js": "none",
"html.format.contentUnformatted": "",
"editor.fontLigatures": null,
}
2020-08-13
最新推荐文章于 2023-04-25 11:36:07 发布