Output formats¶
This section deals with individual output-format topics.
The command line option --output-format=format chooses an output format.
Supported format are u-ctags, e-ctags, etags, xref, and json.
u-ctags,e-ctagsu-ctagsis the default output format extending the Exuberant Ctags output format (e-ctags).--format=1and--format=2are same as--output-format=e-ctagsand--output-format=u-ctagsrespectively.See man page tags (5) for details. The difference between
u-ctagsande-ctagsare marked as “EXCEPTION”. Additional changes in Universal Ctags are described in Changes to the tags file format.etagsOutput format for Emacs etags.
--output-format=etagscan be abbreviated as-e.See emacs git for details.
xrefA tabular, human-readable cross reference (xref) format.
--output-format=xrefcan be abbreviated as-x.See section Xref output for details.
jsonJSON format.
See section JSON output for details.