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

By | July 20, 2017

Structure Guide Lines ON / OFF

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 !


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

  1. Pingback: How To customize “Structure Guide Lines” Colors in Visual Studio 2017 ?

  2. Pingback: Dew Drop - July 21, 2017 (#2525) - Morning Dew

  3. Tim

    Works great for js and cs files – but is ignored for cshtml files. Any ideas?

Comments are closed.