views:

191

answers:

2

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.?

+3  A: 

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)

Macros
+1  A: 

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

Bogdan Gavril