Ctags
From Wikipedia, the free encyclopedia
Ctags is a program that generates an index (or tag) file of objects found in source and header files of various programming languages. Each of these tags signifies an object of the language for which an index entry is available. These tags allow items to be quickly and easily located by a text editor or other utility. Alternatively, there is also an output mode that generates a cross reference file, listing information about various objects found in a set of language files in human-readable form.
The original Ctags was introduced in BSD Unix and was written by Ken Arnold, with Fortran support by Jim Kleckner and Pascal support by Bill Joy.
Contents |
[edit] Editors that support ctags
Tag index files are supported by many code editors, including:
- AcroEdit
- BBEdit 8
- Emacs
- JED
- jEdit (via plugins CodeBrowser, Tags, ClassBrowser, CtagsSideKick, and Jump)
- KDevelop
- NEdit
- Programmer's Notepad
- TextMate (via CodeBrowser-PlugIn)
- UltraEdit
- vi (and derivatives like Vim, vile, etc.)
- Zeus IDE
[edit] Variants of ctags
There are a few variations of the ctags program:
[edit] Etags
Etags is the ctags utility that comes with Emacs.
[edit] Exuberant Ctags
Exuberant Ctags, written and maintained by Darren Hiebert, was distributed with Vim for most of its life, but when Vim 6 was released Exuberant Ctags became a separate project. It includes support for Emacs compatibility.
Exuberant Ctags includes support for over 30 programming languages with the ability to add support for even more using regular expressions.