//在设置中搜setting,点击在setting.json中编辑
{
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"editor.tabSize": 2,
"files.autoSave": "afterDelay",
"editor.formatOnType": true,
"editor.formatOnSave": true,
"emmet.preferences": {},
"editor.fontLigatures": null,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatter.js": "vscode-typ=script",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "auto"
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
}
},
"vetur.completion.scaffoldSnippetSources": {
"workspace": "💼",
"user": "🗒️",
"vetur": "✌"
},
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"javascript.updateImportsOnFileMove.enabled": "always",
"px-to-rem.px-per-rem": 18
}
vscode格式化配置
最新推荐文章于 2023-06-06 21:27:06 发布