Finding the matching brace in Visual Studio

Visual Studio is a well known IDE for Application development. Coding for applications often involves writing large chunks of code. If you are following procedural or object oriented programming you would definitely be writing a lot of functions or methods. And if those functions contain loops or nested loops than you would certainly come to a point where you don’t know where a function or a loop starts or ends. More so if you have a long function it would be hard to know the beginning or the ending.

Visual Studio has a shortcut that tells you the matching braces. For Instance if you are on an opening brace for a function it would point you to the closing brace by using the short keys and vice-versa.

So, the keyboard shortcut is

ctrl }

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s