VSCode user snippet doesn’t works inside jsx

Maybe adding “scope” to your snippet:

"scope": "javascript,typescript,javascriptreact",

javascriptreact —> jsx files

It should be like this…

"JSON stringify": {
  "scope": "javascript,typescript,javascriptreact",
  "prefix": "jst",
  "body": [
    "<pre>{JSON.stringify($1, null, 2)}</pre>"
  ]
},

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)