SyncMaster
SyncMaster

Reputation: 9956

How to navigate to Begining/End of a curly brace by selecting one of the braces in Visual Studio 2005.?

In Visual Studio 2005, Consider my program has a loop containing 10000 lines of code with in it. If i select the Beginning or End brace '{ or }' of the loop, how can i navigate to the other brace'} or {' of the loop.?

Upvotes: 3

Views: 708

Answers (2)

Bogdan Gavril MSFT
Bogdan Gavril MSFT

Reputation: 21488

Yup, and pressing CTRL+] on the closing brace will take you to the opening brace. So it works both ways.

Upvotes: 1

Macros
Macros

Reputation: 7119

Pressing ctrl + ] should take you to the matching close brace for any highlighted open brace (and indeed the matching start brace for any close brace selected)

Upvotes: 3

Related Questions