Skip to content

Instantly share code, notes, and snippets.

@rjpcasalino
Created October 26, 2015 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjpcasalino/168f94e0e3274c921116 to your computer and use it in GitHub Desktop.
Save rjpcasalino/168f94e0e3274c921116 to your computer and use it in GitHub Desktop.
Stolen from my boi Tony (i.e., I don't use many of these)
'.source.js':
'Beginning fancy comment':
'prefix': 'bcom'
'body': '/********************************************************'
'Ending fancy comment':
'prefix': 'ecom'
'body': ' ********************************************************/'
'Fancy console.log':
'prefix': 'flog'
'body': 'console.log("$1: ", $1);'
'Labeled console.log':
'prefix': 'llog'
'body': 'console.log("$1: ", $2);'
'Basic console log':
'prefix': 'log'
'body': 'console.log($1);'
'React comment':
'prefix': 'rcom'
'body': '{ /* $1 */}'
'Beginning normal comment':
'prefix': 'norjs'
'body': '////'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment