如何跳转到匹配的#if/#elif/#endif语句? [英] How to jump to matching #if/#elif/#endif statements?
本文介绍了如何跳转到匹配的#if/#elif/#endif语句?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Visual C ++ 6.0(1998年份)中,有一个有用的命令 Ctrl K / Ctrl J 循环浏览成对的条件语句,从一个跳转到下一个:
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
我在Visual Studio 2010中找不到等效的键盘命令来执行此操作.有人知道这是否可能吗?
I can't find an equivalent keyboard command to do this in Visual Studio 2010. Anyone know if it's possible?
注意:它在.rc2文件中使用.
Note: it is used in an .rc2 file.
推荐答案
这是一个名为Edit.GoToBrace的命令,您可以从工具"中更改键盘快捷键.请参阅此
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?.
这篇关于如何跳转到匹配的#if/#elif/#endif语句?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文