Go to matching brace in Visual Studio with Ctrl+} shortcut

To move the caret to the matching brace of the one it’s currently on press Ctrl+}. This is very handy for navigating code which might have multiple levels of if/else block nesting, although do try and avoid this kind of code by using guard clauses if you can.

Leave a Reply

Your email address will not be published. Required fields are marked *