Created
March 19, 2012 23:12
-
-
Save jackcviers/2128247 to your computer and use it in GitHub Desktop.
.ctags description for JavaScript and Coffeescript
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is my .ctags file for editing JavaScript and Coffeescript. This, combined with Exuberant CTags (etags) will generate pretty good tags for use with auto-complete-mode and -. (find-tag) and other tag- queries from the command buffer in Emacs. You can find the latest auto-complete-mode at http://cx4a.org/software/auto-complete/
I highly recommend using these to edit JS/CS, as they are the closest to in-browser debug console autocompletion that you'll find anywhere. Much thanks to @mads379 for his gist on coffeescript ctags regexes (https://gist.github.com/907245) and George V. Reilly for his post on JS ctags (http://weblogs.asp.net/george_v_reilly/archive/2009/03/24/exuberant-ctags-and-javascript.aspx). As you can see, I merely combined the two and added the class definition line to the coffeescript stuff. Fork away!