Turning On/Off “Structure Guide Lines” in Visual Studio 2017

Turning On/Off “Structure Guide Lines” in Visual Studio 2017

Visual Studio 2017 introduced an interesting feature that draw a dotted structure guide lines on your code.  It draw a dotted vertical line between the curly braces ({}) to identify the individual blocks easily.  If you hover over on the lines, it will shows you a tooltip with the opening of that block and its parents.

Structure Guide Lines
Structure Guide Lines

Of course, you may have seen this dotted line features with earlier version Visual Studio earlier, but as part of some of the Visual Studio Extension.  Now it is available inbuilt with Visual Studio 2017. This feature is enabled by default and you can take a control over it. Yes ! You can turn it ON/ OFF.

Quick Tip : Expand and Collapse Code Blocks on the fly in Visual Studio

Navigate to Tools –> Options –-> Text Editor–> General, and then you will find “Show structure guide lines” option is Checked.

Show structure guide lines

Check / Uncheck the – find “Show structure guide lines” checkbox to turn the guided line on or off.

Related Tip : How to enable the PerfTip while debugging in Visual Studio incase you don’t see it?

Structure Guide Lines ON / OFF
Structure Guide Lines ON / OFF

 

Must Read :9 Hidden Features of Visual Studio that you should know

Hope this helps !

 

DON'T MISS OUT!
Subscribe To Newsletter For your Daily Development Tips and Tricks  

 Best Tips & Tricks on Microsoft Technology Platform 

Invalid email address
We promise not to spam you. You can unsubscribe at any time.
Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

4 Comments to “Turning On/Off “Structure Guide Lines” in Visual Studio 2017”

Comments are closed.