Text editor vertical lines on statements

Postman picture Postman · Jul 9, 2013 · Viewed 26.3k times · Source

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.

Answer

Timo Geusch picture Timo Geusch · Jul 9, 2013

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