lein-gentags
lein-gentags copied to clipboard
Creates a TAGS file for source files in the project
lein-gentags
Ever wanted to navigate your Clojure code more effectively when in Emacs? Tags are the answer. lein-gentags will generate a TAGS file, which Emacs can then use to enable code navigation features.
Usage
lein plugin install lein-gentags "0.0.2-SNAPSHOT"
Then you can run:
lein gentags
To search for a method definition or namespace delclaration, type:
M-. [symbol]
And when prompted navigate to the newly created TAGS file. When this file changes, you'll be prompted to reload the file, although it is possible to do this autoamtically.
Thanks
Thanks go to Nurullah Akkaya for his blog post outlining the steps to get etags generating the right output for Clojure code.
License
Copyright (C) 2012 Sam Newman
Distributed under the Eclipse Public License, the same as Clojure.