How do I jump to the declaration of a C++ method instead of the definition using :tag
or C-]
? I tried
ctags * --C++-kinds=+p
to generate the tags file but :tselect
still does not list any declarations, only definitions. The header files are hpp files and source files are cpp files, all in the same directory.
I have seen this answer but it does not answer my question, except for a comment from where I got the above idea (--<LANG>-kinds
).