问题
In Visual C++ 6.0 (1998 vintage), there is a useful command Ctrl K / Ctrl J to cycle through paired conditional statements, jumping from one to the next:
#if
...
#elif
...
#endif
I can't find an equivalent keyboard command to do this in Visual Studio 2010. Anyone know if it's possible?
Note: it is used in an .rc2 file.
回答1:
This is a command called Edit.GoToBrace and you can change the keyboard shortcut from the Tools. See this In the Visual Studio editor is there a keyboard command to jump to the matching bracket?.
来源:https://stackoverflow.com/questions/5107766/how-to-jump-to-matching-if-elif-endif-statements