Community
Participate
Working Groups
F3 and the "Go to declaration" menu item both don't take you to the declaration. Instead it opens a blank <text> editor.
It looks like this was never actually implemented. Awesome :-/ Right now it's all hardwired to go to the local index. Hence why it has problems, given the index is empty. I'm going to have to add a command to the miner to handle this.
Created attachment 114819 [details] proposed patch Adds support for navigation (F3) Its a big patch, and effects four of the rdt plugins. I added a new package to hold the navigation classes in the core plugin. Good news is that I did end up getting it to work with CElements, so if there is multiple declarations the selection dialog will appear. The only thing that doesn't work is navigation to system headers. I'm getting an exception from inside CModelManager. There is a TODO task that says crecoskie right above the spot where the exception comes from (line 478). It should be very easy to get the hyperlinker to work now.
I've applied this to HEAD. Thanks Mike. There is a bug in this, in that it's not resolving declarations from one project to another. I'll file a separate bug for that.