How do you turn off the vertical lines that connect the braces in C# code? Is this a VS 2013 property? Is this resharper 8 doing this? Thanks
Navigate to Tools –> Options –-> Text Editor–> General, and then you will find “Show structure guide lines” option is Checked.
1 Answer. There is an option group called Structure visualizer options. In there is a checkbox for Show code structure in editor. Turn it off and restart Visual Studio.
You can change this setting in Visual Studio. . editorconfig may also be an option to consider, but here's how to do it in Visual Studio: Open Tools\Options in Visual Studio. Expand Text Editor\C#\Code Style to find the Styling options for C#.
Yes, I hate it and was going to ask the same question, but I have figured it out. You must have ProductivityPowerTools installed too. Go to Tools->Options->Productivity Power Tools->Other Extensions and there is an option group called Structure visualizer options. In there is a checkbox for Show code structure in editor. Turn this off, and job done!
Works for VS2017, VS2019 and VS2022
Tools > Options > Text Editor > General > Uncheck Show Structure Guide Lines
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With