How To customize “Structure Guide Lines” Colors in Visual Studio 2017 ?

How To customize “Structure Guide Lines” Colors in Visual Studio 2017 ?

In Visual Studio 2017   dotted structure guide lines in your code, between the curly braces ({}), helps in identifying the individual blocks easily.  Also, hover over on the lines, it will shows the tooltip with opening of that block and its parents. In the previous post we have seen how to Turning On/Off “Structure Guide Lines” in Visual Studio 2017 .  The Structure Guide Lines in the Visual Studio editor displayed with a light gray color. While this is the default color provided with Visual Studio, you can customize it if you want.

Structure Guide Lines - Colors Customized
Structure Guide Lines – Colors Customized

How to Change it ?

  • Navigate to Tools –> Options
  • Navigate to Fonts and Color under Environment.
  • Select “Text Editor” in the “Show settings for” dropdown.
  • Search for “Structure Guide Lines” from the list of Display items
  • Change the color for item background and click on OK 
Default Settings
Default Settings
Customized Color
Customized Color Settings

Related Tip : How To customize PerfTips Colors in Visual Studio ?

Hope this helps !

Thanks

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.

One Comment to “How To customize “Structure Guide Lines” Colors in Visual Studio 2017 ?”

Comments are closed.