语句上的文本编辑器垂直线

人气:386 发布:2022-10-16 标签: visual-studio ide text-editor highlight

问题描述

在其他文本编辑器中,例如 Notepad++,if 语句有一条垂直线将 if 连接到 elseelseend,这使得视觉解析变得更加容易.

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.

431