Skip to content

Instantly share code, notes, and snippets.

@Quiark
Created October 14, 2010 16:19
Show Gist options
  • Save Quiark/626489 to your computer and use it in GitHub Desktop.
Save Quiark/626489 to your computer and use it in GitHub Desktop.
ctags --langmap=JavaScript:.js "--regex-JavaScript=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\{/\1/,object/" "--regex-JavaScript=/[A-Za-z0-9_$()]*.*prototype.([A-Za-z0-9_$()]+)[ \t]*[:=][ \t]*function[ \t]*\(/\1/,function/" "--regex-JavaScript=/function[ \t]+([A-Za-z0-9._$]+)[ \t]*\(([^)])\)/\1/,function/" "--regex-JavaScript=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\[/\1/,array/" -R *.js controls/*.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment