On 2010-04-12 11:15, Guilhem Bichot wrote:
> Hello Tor,
>
> Tor Didriksen a écrit, Le 12.04.2010 11:11:
>> On 2010-04-12 10:35, Guilhem Bichot wrote:
>>> Sergei Golubchik a écrit, Le 11.04.2010 16:27:
>>>> No, as a heavy ctags user I prefer the function documentation near the
>>>> implementation. With the exception of the public API headers, like
>>>> plugin.h or mysql.h.
>>>>
>>>> I'm not going to argue my case though. But I would be happy to know a
>>>> solution for ctags users for "documentation in the headers" style.
>>>
>>> I remember you raised the ctags problem previously, but I don't
>>> remember what it was (just that it was about ctags not finding
>>> information) :-( Could you please re-explain it?
>>> Thanks!
>>
>> By default, etags will not tag function declarations.
>> see 'man etags' and the --declarations option
>
> Right, good to know. However Serg uses Exuberant ctags (with vim) (and
> I use it too but with etags-compatible output for Emacs). And I
> remember Serg noticed a problem with exctags vs
> declaration/definition, but not the details.
Seems you have similar options for exuberant ctags.
-- didrik
ctags --list-kinds
C
c classes
d macro definitions
e enumerators (values inside an enumeration)
f function definitions
g enumeration names
l local variables [off]
m class, struct, and union members
n namespaces
p function prototypes [off]
s structure names
t typedefs
u union names
v variable definitions
x external and forward variable declarations [off]
C++
c classes
d macro definitions
e enumerators (values inside an enumeration)
f function definitions
g enumeration names
l local variables [off]
m class, struct, and union members
n namespaces
p function prototypes [off]
s structure names
t typedefs
u union names
v variable definitions
x external and forward variable declarations [off]