Matching braces

February 26th, 2006

Quick note to myself, because I always forget how to do this in Visual Studio.

To match a brace, place the cursor just before or after it and press Ctrl + ]

To select a block marked by braces, place the cursor just before or after it and press Ctrl + }

It would be nice if Visual Studio automatically highlighted the matching brace when you placed the cursor beside a brace - like UltraEdit does - but you have to remember the shortcut.

Now to add this to my bookmarks on delicious...

Potentially similar posts

Comments are closed.