After installation of Visual Studio 2017, you probably noticed some vertical dotted lines. Many people find them annoying and want to remove them. At the end at this article I’ll show you how you can disable this feature but first I’d like to tell you how this new feature can be beneficial to you.
It’s not hard to figure out that these lines are lining up with structured code blocks. It allows you quickly figure out the code scopes. The biggest benefit you get when you hover over the line. It allows you easily see namespace, class, method, and other code blocks without the need to scroll. I’ve been using a lot Ctrl+] to jump between difference braces in Visual Studio. Now I just need to hover over the line and see the scope of the code at a glance.
If you think you like this feature but don’t use VS 2017 yet, you can install Productivity Power Tools for VS 2015 or VS 2013.
Ideally, you write your code in such manner that each code block can be easily seen on a single screen. Even if you succeed to write the code nice and concise, the need to read someone else code will arise in your career and this feature might be helpful you.
Disable this feature.
If you still believe that this new feature is not going to help you, then you can disable it by going to Tools > Options > Text Editor and uncheck “Show structure guide lines”.
In case you like this feature but you want the guide lines to be less or more prominent you can go Tools > Options > Environment > Fonts and Colors. In “Display items” select box choose “Structure Guide Lines” option and pick the color that suits you best.
I hope you find this article and this new feature useful.