1.在扩展应用中安装ES7 React/Redux/GraphQL/React-Native snippet 2.选择文件-->首选项-->设置(快捷键Ctr ,)在搜索框中输入language,选择Emmet,并在Emmet:include language下点击setting.json中编辑,添加 { "window.zoomLevel": 1, "explorer.confirmDelete": true, "emmet.includeLanguages":{ "javascript":"javascriptreact" }, "typescript.disableAutomaticTypeAcquisition": true } 4.rcc tab键(官网地址https://marketplace./items?itemName=dsznajder.es7-react-js-snippets) 4. 3.文件-->首选项-->联机服务设置,然后搜索TypeScript: Disable Automatic Type Acquisition,将此项勾选上,这样就会有提示了 ![]() |
|