AnthonyLambert
AnthonyLambert

Reputation: 8830

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

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?

Upvotes: 7

Views: 2587

Answers (2)

rahul
rahul

Reputation: 187110

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

Upvotes: 0

tanascius
tanascius

Reputation: 53964

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

Upvotes: 10

Related Questions