Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 Vertical Brace Lines

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

like image 495
Kirby Avatar asked Dec 05 '13 16:12

Kirby


People also ask

How do I enable vertical lines in Visual Studio?

Navigate to Tools –> Options –-> Text Editor–> General, and then you will find “Show structure guide lines” option is Checked.

How do I see the lines that connect braces in Visual Studio?

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.

How do you change curly braces in 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#.


2 Answers

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!

like image 108
stevethethread Avatar answered Oct 20 '22 03:10

stevethethread


Works for VS2017, VS2019 and VS2022

Tools > Options > Text Editor > General > Uncheck Show Structure Guide Lines

enter image description here

like image 35
Crismogram Avatar answered Oct 20 '22 03:10

Crismogram