Skip to content

Instantly share code, notes, and snippets.

@mechairoi
Created February 18, 2014 01:57
Show Gist options
  • Save mechairoi/9063153 to your computer and use it in GitHub Desktop.
Save mechairoi/9063153 to your computer and use it in GitHub Desktop.
.ctags for angualr js
--regex-javascript=/\.controller[ \t]*\([ \t]*['"]([A-Za-z0-9_.]+)['"][ \t]*,/\1/C,controller/i
--regex-javascript=/\.filter[ \t]*\([ \t]*['"]([A-Za-z0-9_.]+)['"][ \t]*,/\1/F,filter/i
--regex-javascript=/\.module[ \t]*\([ \t]*['"]([A-Za-z0-9_.]+)['"][ \t]*,/\1/M,module/i
--regex-javascript=/\.directive[ \t]*\([ \t]*['"]([A-Za-z0-9_.]+)['"][ \t]*,/\1/D,directive/i
--regex-javascript=/\.factory[ \t]*\([ \t]*['"]([A-Za-z0-9_.]+)['"][ \t]*,/\1/F,factory/i
--regex-javascript=/\.value[ \t]*\([ \t]*['"]([A-Za-z0-9_.]+)['"][ \t]*,/\1/V,value/i
--regex-javascript=/\.provider[ \t]*\([ \t]*['"]([A-Za-z0-9_.]+)['"][ \t]*,/\1/P,provider/i
--regex-javascript=/\.constant[ \t]*\([ \t]*['"]([A-Za-z0-9_.]+)['"][ \t]*,/\1/C,constant/i
--regex-javascript=/\.config[ \t]*\([ \t]*['"]([A-Za-z0-9_.]+)['"][ \t]*,/\1/C,config/i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment