在 Visual Studio 编辑器中是否有键盘命令可以跳转到匹配的括号?

发布于 2024-08-31 12:24:04 字数 103 浏览 2 评论 0原文

在 Vi / Vim 中,您可以移动到括号并按 %,编辑器会将光标移动到匹配的括号。在编辑器中移动大文件时,这节省了大量时间。有 Visual Studio 同等产品吗?

In Vi / Vim you can move to a bracket and press % and the editor would move the cursor to the matching bracket. This saved large amounts of time when moving around the large files in the editor. Is there a Visual Studio equivalent?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

空城缀染半城烟沙 2024-09-07 12:24:04

有一个键盘绑定 Edit.GotoBrace 可以满足您的需要。
默认绑定CTRL + ],您可以在此处更改:

工具->选项->环境->键盘

There is a keyboard binding Edit.GotoBrace which will do what you need.
The default binding is CTRL + ], which you can change here:

Tools -> Options -> Environment -> Keyboard

东北女汉子 2024-09-07 12:24:04

您可以按 Ctrl + } 移动到匹配的括号。

You can press Ctrl + } to move to the matching bracket.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文