Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Navigate to an overriden method

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
JakubH Posted - Oct 02 2013 : 09:55:08 AM
It would be great if there was an option to navigate easily from an overriding method in a child class to the respective overridden method in a parent class. (It should jump to the closest parent which declares this method.)

Simple example:

abstract class Gradpa {
    virtual void foo() = 0;
    virtual void bar() {
        // ...
    }
};

class Parent : public Gradpa {
    virtual void foo() override {
        // Navigate from here to the Gradpa::foo()
    }
};

class Child : public Parent {
    virtual void foo() override {
        // Navigate from here to the Parent::foo()
    }
    virtual void bar() override {
        // Navigate from here to the Grandpa::bar()
    }
};
7   L A T E S T    R E P L I E S    (Newest First)
sean Posted - May 23 2014 : 3:00:21 PM
Goto Related is officially released in build 2036. It is bound to alt+shift+g.
sean Posted - Apr 07 2014 : 3:47:43 PM
Go to Related is under active development, but we did demo it to current users at the Microsoft Build conference last week.

Build 2031 adds the command VAssistX.GotoRelated to the list of bindable commands at Tools | Options | Environment | Keyboard.
Bind it for example to alt+shift+g or ctrl+shift+g, in the Text Editor scope.

As I noted, it is under active development but we anticipate a formal debut in our next release or two.
JakubH Posted - Oct 15 2013 : 10:06:20 AM
Great! I look forward.
sean Posted - Oct 03 2013 : 1:48:03 PM
We have a feature request for this: case=72921
We intend to get to it before long.
feline Posted - Oct 03 2013 : 1:00:40 PM
A good point, Find References is not going to work as well as I had hoped here.

I have emailed you about this.
JakubH Posted - Oct 03 2013 : 02:48:56 AM
Yes, Find References is a great function, but not so straightforward for this use case. I have to search for declarations in results and do more research to find out which are actually overriding instances, which are overridden and which is the one overridden method from the closest parent.
feline Posted - Oct 02 2013 : 4:11:29 PM
If you run Find References on these functions, so long as you have turned On "Inherited and overridden references" in the Find References Results context menu, you can quickly and easily see the parent class methods, and jump to them.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000