更新 'settings.json'
This commit is contained in:
parent
bf92e76ece
commit
740f14d0b8
|
@ -99,5 +99,16 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"json.maxItemsComputed": 50000,
|
"json.maxItemsComputed": 50000,
|
||||||
|
|
||||||
|
"javascript.format.insertSpaceBeforeFunctionParenthesis": true, //让函数(名)和后面的括号之间加个空格
|
||||||
|
"vetur.format.defaultFormatter.html": "js-beautify-html", //格式化.vue中html
|
||||||
|
"vetur.format.defaultFormatterOptions": {
|
||||||
|
"js-beautify-html": {
|
||||||
|
"wrap_attributes": "force-aligned" //属性强制折行对齐
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll.eslint": true
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue