首先点击编辑器左上方的首选项(preference)-》设置(settings) 进入下面界面 在右边添加下面属性: "emmet.includeLanguages": { "javascript": "javascriptreact" }, 相关文章: