Search code examples
visual-studioidehighlighttext-editor

Text editor vertical lines on statements


In other text editors, such as Notepad++, if statements among other things had a vertical line connecting the if to the else, and the else to the end, which makes visual parsing much easier.

Example (Vertical lines highlighted by black boxes): enter image description here

I was wondering if there was a way to do this in Visual Studio.


Solution

  • Have a look at the indent guides extension, this can do what I think you want.