enable emmet in vscode code example

Example 1: jsx in emmet

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

Example 2: emmet for vscode

"emmet.triggerExpansionOnTab": true

Example 3: enable emmet in vscode for jsx

//Go to settings > extensions > emmet > include languages > edit in setings.json

//Add this

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

Example 4: how to add custom snippets in emmet in visual studio code

"Console log": {
    "prefix": "clog",
    "body": "console.log('$1');",
    "description": "Log output to console"
}

Tags:

Misc Example