Blog

Find Matching Brace In Visual Studio

TIL

Visual Studio Shortcut to find a matching Brace/Curly Bracket/Moustache in Visual Studio.

Old Article

This content may be out of date or broken, please take care.

In the back of my mind I was always sure that there was a short-cut to find a matching brace when working with source code. Turns out, there is!

 

Just discovered the short-cut "Ctrl+]" in @VisualStudio and it is glorious... Now to adapt it to muscle memory. #timesaver

— Stephen Pammenter (@SvenPam) June 18, 2014

 

This is especially useful with stuff like Razor, as its syntax is already highlighted (at least in VS Sons of Obsidian theme I use), meaning it can be a little tricky trying to locate braces when stuff gets a little nested.

 

 

Comments