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.
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.
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?
Must Read :9 Hidden Features of Visual Studio that you should know
Hope this helps !
Pingback: How To customize “Structure Guide Lines” Colors in Visual Studio 2017 ?
Pingback: Dew Drop - July 21, 2017 (#2525) - Morning Dew
If you need those on, your methods are too long 🙂
Works great for js and cs files – but is ignored for cshtml files. Any ideas?