我需要使用空格而不是制表符,不幸的是我无法解释 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 确实显示了空格,但不显示垂直线。
最佳答案
看起来我已经找到了解决方案:您需要在 VS 中安装“Indent Guides”扩展。 http://visualstudiogallery.msdn.microsoft.com/e792686d-542b-474a-8c55-630980e72c30
关于python - 在 Visual Studio 中将空格显示为选项卡,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24419504/