settingsAccountsettings
Menusettings

Q: How to see the lines which connect the braces in Visual Studio?

+3 votes

How can I see the lines which are connecting the braces in Visual Studio or How can I put vertical lines between curly bracket?

I saw this feauture on one of the C# tutorials I've watched... Hope you understand my question :-) Thanks

Like on this screenshot:

connecting braces lines in Visual Studio

asked in C# category by user eiorgert
edited by user golearnweb

1 Answer

+2 votes
 
Best answer

First you must install ProductivityPowerTools (it is FREE plugin/add-on):

For Visual Studio 2013 - DOWNLOAD IT FROM HERE: https://visualstudiogallery.msdn.microsoft.com/dbcb8670-889e-4a54-a226-a48a15e4cace

For Visual Studio 2015 - DOWNLOAD IT FROM HERE: https://visualstudiogallery.msdn.microsoft.com/34ebc6a2-2777-421d-8914-e29c1dfa7f5d

Then: Go to Tools->Options->Productivity Power Tools->Other Extensions

There is an option group called Structure visualizer options.

In there is a checkbox for Show code structure in editor. Turn it off and restart Visual Studio.

See the picture below:

showing and activating vertical braces in Visual Studio


Actually ProductivityPowerTools is a very nice addition to Visual Studio! :-) Here is one video explaining it's features (fraight from msdn.com :-) https://channel9.msdn.com/Events/Visual-Studio/Launch-2013/VS106

and another one from YouTube:

answered by user samfred5830
edited by user golearnweb
Good advice and excellent addition to Visual Studio! thanks samfred5830
...