Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Goto implementation c++ inconsistency
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

suzume
New Member

2 Posts

Posted - Jun 11 2020 :  08:21:45 AM  Show Profile  Reply with Quote
Hello,

I have experienced a problem with Goto Implementation (Alt+G) when going from a declaration to a definition on the latest (15.9.24) VS2017 Professional. What I noticed is that when I do Alt+G, it will place the caret on the opening brace of a definition:

void Func()
|{
}

If I move the opening brace to the same line as the definition signature, it will move the caret to the function name (As VS Go to definition).

void Func|() {
}

There is a difference in behaviour while using Alt+G on const and non-const member functions. On non-const, it will let you come back to the declaration without any problems (even though the caret is placed on the opening brace). In case of const member functions, it won't go back to the declaration.

Why does it matter to me?
It was super convenient to do Alt+G back and forth.

Changing braces convention is out of the question.

As far as I remember, on VS2017 15.9.22 it was working fine. I thought it was the newest version of VA, but I have verified a few older versions (until 2018 builds) and the problem has been still occurring.

Edited by - suzume on Jun 11 2020 08:26:50 AM

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jun 11 2020 :  12:35:09 PM  Show Profile  Reply with Quote
I did not expect this to fail, but as you say, definitely a bug here:

case=100615

unfortunately I don't currently have an estimate for when this will be fixed, but we are aware of the problem. For now, Alt-O should help a bit. Hardly the same, but at least a step in the right direction.

zen is the art of being at one with the two'ness
Go to Top of Page

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Jun 18 2020 :  01:37:25 AM  Show Profile  Reply with Quote
case=100615 is fixed in build 2380.
https://support.wholetomato.com/default.asp?W404#2380
Go to Top of Page

suzume
New Member

2 Posts

Posted - Jun 18 2020 :  05:37:26 AM  Show Profile  Reply with Quote
Thank you :)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000