visual-studio-2008 - 转到 Visual Studio 中的匹配大括号吗?

标签 visual-studio-2008 keyboard-shortcuts curly-braces

在 Visual Studio 2008 中是否有办法从右大括号转到左大括号?我发现了很多关于突出显示大括号的内容,但没有找到关于将光标移动到它的内容。

(此问题的 VB.NET 版本: Keyboard shortcut for Jumping between "If/End If" )

最佳答案

我为你找到了这个:Jump between braces in Visual Studio :

Put your cursor before or after the brace (your choice) and then press CTRL + ]. It works with parentheses ( ), brackets [ ] and braces { }. From now on you don’t need to play Where’s Waldo? to find that brace.

使用上述快捷键,您还可以按住SHIFT进行选择。

在 MacOS 上,使用 CMD + SHIFT + \

关于visual-studio-2008 - 转到 Visual Studio 中的匹配大括号吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1501921/

相关文章:

visual-studio-2008 - Visual Studio 滚动条

python - 从如此生成的击键中阻止 pyhook?

java - 为什么 Java 数组声明使用大括号?

vb.net - 无法启动 WinForms 项目,因为 Form 是一种类型

c# - 如何在 outlook 窗口中为收件箱中的邮件创建一个按钮(双击邮件)?

keyboard-shortcuts - 如何在 Notepad++ 中模仿 Visual Studio 的 CTRL-X、CTRL-V 功能?

bash - 我们什么时候需要用大括号括住 shell 变量?

大括号/ block 末尾的 Java 注释

c++ - 在 visual studio 2008 中输出

c# - Visual Studio 2015 奇怪的键盘快捷键