Trying to use emmet with a react app in vs code Trying to use emmet with a react app in vs code reactjs reactjs

Trying to use emmet with a react app in vs code


Add this to settings JSON:

"emmet.includeLanguages": {  "javascript": "javascriptreact"}


In case the marked answer dont work!

In VS Code open settings using command:

On PC: Ctrl + ,

On Mac: Command + ,


Be sure workspace is selected

enter image description here

Search Emmet, scroll down to Emmet Include Language and open settings.JSON file

enter image description here

Paste the following code and save the file. Reload VS CODE and it will work!:

{  "emmet.includeLanguages": {    "javascript": "javascriptreact"  }}


install Extension Emmet

go to setting.json then add this:

"emmet.includeLanguages": {"javascript": "javascriptreact",}