- Notifications
You must be signed in to change notification settings - Fork1
Index code using etags, ctags or gtags.
License
sanel/lein-codeindex
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Index your Clojure and Java project code with all dependencies usingetags,ctags orgtags.
In short, thisLeiningen plugin allows you toeasily index the code and find any function, variable or namespacedefinition used through the code from editors like Emacs, Vim, SublimeText andmany more.
Make sure you have installedetags
(comes with Emacs),ctags
(distributed usually with Vim) orgtags
(comes withGNU Global
).
To enablelein-codeindex
for your project, put
into the:plugins
vector of your project.clj. If you'd like toenable it globally for every project, put it in$HOME/.lein/profiles.clj
.
To run it, use:
$ lein codeindex
This will generate Emacs compatible tags usingetags
.
If you'd like to usectags
and generate Vi/Vim compatible tags, use:
$ lein codeindex --vim
or
$ lein codeindex --ctags --vim
To generate Emacs tags usingctags
, use:
$ lein codeindex --ctags
To see other options, run:
$ lein help codeindex
Copyright © 2018 Sanel Zukan
Distributed under the Eclipse Public License either version 1.0 or (atyour option) any later version.
About
Index code using etags, ctags or gtags.