开发者

In the Visual Studio editor is there a keyboard command to jump to the matching bracket?

开发者 https://www.devze.com 2022-12-28 13:02 出处:网络
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

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?


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消