[前端]vscode中配置Emmet自动补全jsx(HTML速写)

302 阅读1分钟

1. Press Ctrl + , or Cmd + , or File > Preferences > Settings. This will open Settings window. Go to Workspace tab > Extensions > Emmet

2. For new vs code version, you'll see a menu called Included Languages. similar to this:

After enter javascript in the item box and after type javascriptreact in the value field and finally press Add item. Your final output must look like the image below:

stackoverflow.com/questions/5…