{
"files.autoSave": "onFocusChange",
"window.zoomLevel": 1,
"vetur.validation.template": false,
"editor.wordWrap": "on",
"px2rem-plus.comments": false,
// 以下为stylus配置
"stylusSupremacy.insertColons": true, // 是否插入冒号
"stylusSupremacy.insertSemicolons": true, // 是否插入分好
"stylusSupremacy.insertBraces": true, // 是否插入大括号
"stylusSupremacy.insertNewLineAroundImports": true, // import之后是否换行
"stylusSupremacy.insertNewLineAroundBlocks": false,
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[css]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[scss]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"editor.formatOnSave": true,
"prettier.tabWidth": 4,
"beautify.config": "",
"beautify.ignore": "",
"beautify.language": {
"js": {
"type": [
"javascript",
"json",
"jsonc"
],
"filename": [
".jshintrc",
".jsbeautifyrc"
]
},
"css": [
"css",
"less",
"scss"
],
"html": [
"htm",
"html",
"vue"
]
},
"[vue]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"editor.foldingStrategy": "indentation", // 两个选择器中是否换行
}
vue工程化开发代码自动格式化
最新推荐文章于 2024-07-25 01:48:55 发布