Scott Cate Weblog 

scott.cate@myKB.com
http://scottcate.myKB.com



Scott Cate KB > Keyboard Shortcuts Start Over
Search the Knowledge Base
 
Start Search in the Following Category
Date Modified
Saturday, November 08, 2003
Jump to Matching { } in Visual Studio

1: If(thisObject.ToString() != null)
2: {

         .....

3: }

If your cursor is positioned before or after the open or closing block (lines 2 or 3) CTRL+} will jump your cursor to the other { } character.

If your hold the shift key down, you'll effectively highlight the whole block. This is a great keystroke to move large blocks. I particularly use this when I've decided to create a Try Catch statement, and need to move large blocks of code.


All rights reserved. All details are the personal opinion of Scott Cate.
All trademarks referenced are the property of their respective owners.
Scott Cate is a lead programmer for www.myKB.com and
owner of The Arizona .NET User Group and an all around nice guy ;)


Knowledge Base Software - myKB.com