In the Visual Studio editor is there a keyboard co

2019-04-07 02:22发布

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?

2条回答
手持菜刀,她持情操
2楼-- · 2019-04-07 02:58

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

查看更多
We Are One
3楼-- · 2019-04-07 02:58

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

查看更多
登录 后发表回答