A goto is rare in the C/C++ language, but they occur. Nice would be if located on a goto label, Alt+G would jump to the label. goto's are often used in greater code blocks and switch statements to "escape" to a far location. A Alt+G support would help.
Also nice (I saw a suggestion 2 years ago), if there is an autocomplete or suggestions if you type goto. This is only nice. I just scanned my code and found in most cases only one goto in the corresponding scope ;)
Martin Richter [rMVP] WWJD http://blog.m-ri.de "A well-written program is its own heaven; a poorly written program is its own hell!" The Tao of Programming
OK! I had a few similar code passages where VA1819 failes. Suggestions work! Thats OK. ALT+G doesn't work in this code:
void Foo()
{
int i;
switch (1)
{
case 1:
if (i==5)
{
goto Test;
}
break;
case 2:
Test:
{
int j;
}
break;
}
}
Martin Richter [rMVP] WWJD http://blog.m-ri.de "A well-written program is its own heaven; a poorly written program is its own hell!" The Tao of Programming
This would be nice for "continue" and "break" too. Sometimes you see a "continue" statement, and wonder where it would take you (e.g. huge while loops).