Generate tags for a list of files and extensions.
Specify which directories to generate tags for, and what kinds of files to generate them for in each. Good for tag jumping in an editor.
- An ANSI Common Lisp
- A ctags-like program.
- Desire
- Not multithreaded!
- Works with any tag program (doesn't do any tagging itself)!
- No special configuration language, just two sexps!
- Does not use Roswell!
- Works on my machine!
- put this folder somewhere
- put the config folder somewhere
- put the tag-gen.sh and tag-gen-root.sh somewhere
- put the cron job in
- put your configuration in
Edit the config/ files with the paths you want tagged.
Add a command to cron like:
*/29 * * * * su username -c 'tag-gen.sh /path/to/tag-gen/local.conf /usr/bin/etags'
*/29 * * * * su root -c 'tag-gen-root.sh /path/to/tag-gen/root.conf /usr/bin/etags'
for routine tagging.
tags.conf needs to contain this kind of format:
"/path/to/ctags/program"
(("<directory>" ("<ext>"...))
...)
The tags program reads the file extensions to infer what language to do tags for. Specify the directories you want to use tag browsing programs on.
See examples in config-examples. Configuration is mandatory for the program to work. The format is just read with the lisp reader and is very simple.
