Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Goto for __super:: function prefix

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
guyv666 Posted - May 26 2023 : 3:37:30 PM
In Visual Studio, when a function is prefixed with __super::, then the GOTO fails to take you to the correction function. Instead, it opens a context list of functions to choose from.

If I press F12 in Visual Studio, then it takes me to the correct function.

Having to use 2 different shortcuts is inconvenient.

Any chance this feature can be incorporated?
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - May 29 2023 : 07:16:12 AM
Can you please try the following simple code sample, and see if you get the same results as I do. I tested this using VS2022 and VA 2488.0 I have described what Alt-G is doing for me in the comments:

class BaseClassForSuper
{
public:
	virtual void SuperAltGTarget() { }
};
	
class ChildClassForSuper : public BaseClassForSuper
{
public:
	virtual void SuperAltGTarget() { }
	void testingSuperAltG();
};
	
void ChildClassForSuper::testingSuperAltG()
{
	SuperAltGTarget(); // Alt-G here goes directly to child class
	__super::SuperAltGTarget(); // Alt-G here goes directly to base class
}

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