Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Additional Ctrl-Click functionality

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
texsc98 Posted - Aug 26 2010 : 3:58:44 PM
It would be nice to have the option when Ctrl-clicking a method call that exists in an interface, that you could choose to jump to a method from a list that implements that interface method...

I think that would work better than having to jump to the interface method, then having to do a "Find references" to get to the implementation of the interface method that you originally wanted
6   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Nov 19 2010 : 12:32:21 PM
The new behavior is context dependent. It only kicks in when invoked via the base interface:

interface IFoo
{
    void FooMethod();
};

// alternatively
class IFoo
{
    virtual void FooMethod() = 0;
};

class FooImplementer : public IFoo
{
    void FooMethod();
}

void FooImplementer::FooMethod()
{
}

void test()
{
    IFoo * p1;
    // alt+g on FooMethod will list 3 destinations 
    // (IFoo::FooMethod, FooImplementer::FooMethod decl, FooImplementer::FooMethod impl
    p1->FooMethod();  


    FooImplementer * p2;
    // no change in behavior 
    // (alt+g will not list IFoo::FooMethod)
    p2->FooMethod();
}


If you're seeing something different, could you please post a similar example?
pwc Posted - Nov 19 2010 : 11:51:02 AM
I can't seem to make this work in 1836. I have an abstract base class with all pure virtual functions (all native c++). When I alt-g on a method of the interface at a call site, it always takes me to the method declaration in the interface; it never offers any implementations. Are there some restrictions/requirements that I'm not aware of?

Thanks,

Paul
Admin Posted - Nov 12 2010 : 3:16:47 PM
case=36934 is implemented in build 1836
accord Posted - Sep 17 2010 : 2:38:36 PM
You can already use ctrl+click to go to the symbol if you enable here:
A Options -> Advanced -> General -> Execute Goto upon Ctrl+Left-Click in text editor

case=36934 is about improving goto on interface functions.

Regarding find references: we have default shortcut (shift+alt+f) but as you can see you can override it any time.
Alexis Pautrot Posted - Sep 17 2010 : 08:47:41 AM
Ctrl+Click is also already used allow word selection, I can not live without it :)

You can consider assigning a short cut to "Find references". I'm personally using F1 for that (VS help is no more useful to me since Google exists).
accord Posted - Aug 26 2010 : 5:51:34 PM
We are considering doing this at some point:

case=36934

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