问题描述
在其他文本编辑器中,例如 Notepad++,if 语句有一条垂直线将 if
连接到 else
和 else
到 end
,这使得视觉解析变得更加容易.
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):
我想知道在 Visual Studio 中是否有办法做到这一点.
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.