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):
I was wondering if there was a way to do this in Visual Studio.
Have a look at the indent guides extension, this can do what I think you want.