Easy way to display C/C++ prototypes in tag list

Discussion Forums discussion Easy way to display C/C++ prototypes in tag list

This topic contains 0 voices and has 1 reply.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
March 17, 2009 at 10:50 am #566

chickenkiller
Member

Hi everyone,

I was trying to see if I could modify a bit the ctags behaviour so that prototypes are included in the tag list when using C/C++. I like to have all my class methods displayed, even if they are only declared and not defined, and that often happens with header files.

I found that using additionalLanguages.conf, one can alter the ctags command line even for already supported languages! Here is what I added in additionalLanguages.conf:

--langdef=c

--c-kinds=+p

And here it is, prototypes are displayed. Neat, isn’t it?

I love Programmer’s Notepad so much. Thank you Simon. :)

regards,

Lionel

March 19, 2009 at 9:10 am #16357

simon
Key Master

Cool, thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.