Skip to content

Instantly share code, notes, and snippets.

@lastobelus
Created November 27, 2013 18:57
Show Gist options
  • Save lastobelus/7681172 to your computer and use it in GitHub Desktop.
Save lastobelus/7681172 to your computer and use it in GitHub Desktop.
Today I realized TextMate lets you put options in snippet placeholders, so `${2|model,controller,value|}` will result in a little popup with options one, two, and three when you tab to that expansion. I definitely wanted to use this, particularly in my Ember snippets for this.get('xxxx') and this.set('xxx'). But I didn't want to guess which opti…
egrep -rh --exclude=ember* --exclude=*raphael* --exclude=*jquery* "this.get\(.*\)" * | sed -E "s/.*this.get..([^'\"]+)['\"].*/\\1/g" | sort | uniq -c | sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment