Is there a way for ctags to handle multiline function prototypes in C?
I ve searched around and the --fields=+S
is supposed to do multiline prototypes, but I can t get it to work:
ctags -x --c-kinds=pf --fields=+S file
file:
int
foo(int
x, int y
);
ctags only returns:
foo(int
(Note that the return type is also missing)
Ultimately I would like to get an output similar to
int foo(int x, int y);
or
int foo(int x, int y
is --fields=+S
not the correct way?
Are there part of the ctags fields that I am missing?
Any pointers in general?
If there is not a way to do it in ctags, any recommended programs? (I m currently looking at uncrustify)