Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. {
  2. // Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
  3. // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
  4. // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
  5. // used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
  6. // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
  7. // Placeholders with the same ids are connected.
  8. // Example:
  9. "console.log": {
  10. "scope": "javascript,typescript",
  11. "prefix": "$log",
  12. "body": [
  13. "console.log($1)"
  14. ],
  15. "description": "console.log"
  16. },
  17. "console.info": {
  18. "scope": "javascript,typescript",
  19. "prefix": "$info",
  20. "body": [
  21. "console.info($1)"
  22. ]
  23. },
  24. "console.warn": {
  25. "scope": "javascript,typescript",
  26. "prefix": "$warn",
  27. "body": [
  28. "console.warn($1)"
  29. ]
  30. },
  31. "console.error": {
  32. "scope": "javascript,typescript",
  33. "prefix": "$error",
  34. "body": [
  35. "console.error($1)"
  36. ]
  37. },
  38. "console.trace": {
  39. "scope": "javascript,typescript",
  40. "prefix": "$trace",
  41. "body": [
  42. "console.trace($1)"
  43. ]
  44. },
  45. "console.table": {
  46. "scope": "javascript,typescript",
  47. "prefix": "$trace",
  48. "body": [
  49. "console.trace($1)"
  50. ]
  51. },
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement