Index code using etags or ctags
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/leiningen
.gitignore
LICENSE
README.md
project.clj

README.md

lein-codeindex

Index your Clojure project code with all dependencies using etags or ctags.

In short, this Leiningen plugin allows you to easily index the code and find any function, variable or namespace definition used through the code from editors like Emacs, Vim, Sublime Text and many more.

Prerequisites

Make sure you have installed etags (comes with Emacs) or ctags (distributed usually with Vim).

Usage

To enable lein-codeindex for your project, put

latest-version

into the :plugins vector of your project.clj. If you'd like to enable it globally for every project, put it in $HOME/.lein/profiles.clj.

To run it, use:

$ lein codeindex

This will generate Emacs compatible tags using etags.

If you'd like to use ctags and generate Vi/Vim compatible tags, use:

$ lein codeindex --vim

or

$ lein codeindex --ctags --vim

To generate Emacs tags using ctags, use:

$ lein codeindex --ctags

To see other options, run:

$ lein help codeindex

License

Copyright © 2016 Sanel Zukan

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.