Wednesday, November 28, 2012

Interpretation of extension fields in tags file

Hello list,

related to the generation of a tags file via ctags one finds almost
always the following options switched on (googling for "vim ctags
field"):

ctags --fields=+iaS \
--extra=+q [other_options] [files/dirs]

With respect to the three additional fields, added to the tags file by
the switch '--fields=+iaS', vim's help (:h tag-old-static) tells me

There is one field that doesn't have a ':'. This is the kind
of the tag. It is handled like it was preceded with "kind:".
See the documentation of ctags for the kinds it produces.

The only other field currently recognized by Vim is "file:"
(with an empty value). It is used for a static tag.

I can't find anything about the fields that contains the signature of
routine (S), access of class members (a) and inheritance
information (i).

In the light of vim's help I wonder why i find so many
sites that evokes --fields=+iaS?

Is vim able to use the extension fields out of the box? Or maybe there
is another explanation why extension fields are so popular!?

Thanks a lot for your time and best regards

Johannes

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: