CTags icon indicating copy to clipboard operation
CTags copied to clipboard

Find Declaration

Open PSeitz opened this issue 11 years ago • 6 comments

A find declaration would be helpful in large projects. I could create a patch if someone points me to the code to change.

PSeitz avatar Jul 24 '14 08:07 PSeitz

I can do that, but you're going to need to explain "find declaration" a little more. What do you mean exactly?

stephenfin avatar Jul 24 '14 09:07 stephenfin

The navigate_to_definition method lists all the definitions in the popover. The same functionality for the declaration would be great, since it is not always clear, where the method etc. is declared.

PSeitz avatar Jul 24 '14 11:07 PSeitz

Ahhh. I imagine that's that's going to be tough to do if it's not something CTags support natively. Do you know if this works in Vim or any other user of CTags?

stephenfin avatar Aug 16 '14 10:08 stephenfin

This should be provided natively from CTags, a colleague uses this function in Emacs with CTags.

PSeitz avatar Aug 18 '14 06:08 PSeitz

Any chance of getting some screenshots of this is action?

stephenfin avatar Sep 05 '14 18:09 stephenfin

Universal-ctags (as well exuberant) has the function prototype feature. I implemented it for C++ here: https://github.com/PSeitz/CTags/commit/24798f04d5b743097be2577bdc4b33a47c52b5b3

PSeitz avatar Nov 06 '15 12:11 PSeitz