vscode中的vue文件中emmet进行tab键不起作用

原文链接: https://segmentfault.com/q/1010000008680303?_ea=1713330

设置方法:

文件-首选项-设置

经@ 最爱小虾 指正, v1.5版本后配置如下 

"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html"
}

设置代码

"emmet.syntaxProfiles": {
  "vue-html": "html",
  "vue": "html"
}
原文地址:https://www.cnblogs.com/dfyg-xiaoxiao/p/6897147.html