javascriptreact.json 764 B

12345678910111213141516171819202122
  1. {
  2. // Place your snippets for javascriptreact here. Each snippet is defined under a snippet name and has a prefix, body and
  3. // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
  4. // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
  5. // same ids are connected.
  6. // Example:
  7. // "Print to console": {
  8. // "prefix": "log",
  9. // "body": [
  10. // "console.log('$1');",
  11. // "$2"
  12. // ],
  13. // "description": "Log output to console"
  14. // }
  15. "Log to the console no ;": {
  16. "prefix": "logno;",
  17. "body": ["console.log($1)"],
  18. "description": "Log to the console without trailing semicolon"
  19. }
  20. }