在"If/End If"之间跳转的键盘快捷方式. [英] Keyboard shortcut for Jumping between "If/End If"

查看:78
本文介绍了在"If/End If"之间跳转的键盘快捷方式.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道在C#中操作很简单,但是在VB.Net中的If/End If标记之间跳转的命令是什么,就像您可以在C#中的括号之间跳转一样?

I know it's simple to do in C#, but what is the command to jump between If/End If marks in VB.Net like you can jump between braces in C#?

(此问题的C#版本:转到Visual Studio中的匹配括号吗?)

(C#-version of this Question: Go to Matching Brace in Visual Studio?)

推荐答案

如果使用的是Visual Studio 2010,则可以使用 Ctrl + Shift + Ctrl + Shift + 可在突出显示的引用和关键字之间跳转.

If you're using Visual Studio 2010, you can use Ctrl+Shift+Up and Ctrl+Shift+Down to jump between highlighted references and keywords.

由于这些是If块,因此IDE也会突出显示Then关键字,因此只需快速连续两次按上/下键.向上/向下滚动,因此,如果您确实要保存按键,请按错误"方向按键以获取所需位置.

Since these are If blocks, the IDE will highlight the Then keyword as well, so just tap Up/Down twice in rapid succession. Up/down wraps, so if you really want to save a keypress, hit the key in the "wrong" direction to get where you want.

这篇关于在"If/End If"之间跳转的键盘快捷方式.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆