在 Visual Studio 编辑器中是否有键盘命令可以跳转到匹配的括号?
在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有一个键盘绑定
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:
您可以按 Ctrl + } 移动到匹配的括号。
You can press Ctrl + } to move to the matching bracket.