1.点击文件->首选项->设置,找到beautify.language并在html一栏里加上vue
"beautify.language": {
"js": {
"type": [
"javascript",
"json"
],
"filename": [
".jshintrc",
".jsbeautify"
]
},
"css": [
"css",
"scss"
],
"html": [
"htm",
"html",
"vue"//在这里加上vue
]
}
2.点击文件->首选项->键盘快捷方式 搜索 beautify selection 按enter 然后设置对应的快捷键