Author |
Topic |
|
suzume
New Member
2 Posts |
Posted - Jun 11 2020 : 08:21:45 AM
|
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
|
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 |
|
|
ChrisG
Whole Tomato Software
USA
299 Posts |
|
suzume
New Member
2 Posts |
Posted - Jun 18 2020 : 05:37:26 AM
|
Thank you :) |
|
|
|
Topic |
|