1

我需要使用空格而不是制表符,不幸的是我无法解释 Visual Studio 2013 将每 4 个空格显示为制表位。例子:

def hello():
....for i in range(3):
........print('Hello world!')

但我需要类似的东西

def hello():
...|for i in range(3):
...|...|print('Hello world!')

我的意思是我不需要完全垂直的线条字符,只是以某种方式区分缩进。

顺便说一句,Geany IDE 让它很棒。

编辑: Visual Studio 确实向我显示了空格,它不显示垂直线。

4

2 回答 2

1

看起来我找到了解决方案:您需要为 VS 安装“Indent Guides”扩展。 http://visualstudiogallery.msdn.microsoft.com/e792686d-542b-474a-8c55-630980e72c30

于 2014-06-25T22:36:33.900 回答
0

下载并安装适用于 VS2015 的 Productivity Power Tools,然后您可以在编辑 > 高级菜单中找到这些选项。

于 2016-05-27T17:43:35.043 回答