Pydev 源代码编辑器(Eclipse 的 Aptana studio)中是否有设置,我可以在其中查看 Python 文件中特定行的缩进级别?类似于垂直线或顶部/底部窗口边缘的标记(如图像处理工具中所示)。
当源代码有几个缩进级别时,很难看出它有什么级别:
def foo():
while True:
#stuff
#stuff
if "foo" == "bar":
#stuff
#stuff
while False:
#stuff
#stuff
#stuff
#stuff
if "baz" == "baz":
#stuff
#stuff
else:
#stuff
#stuff
#stuff
#stuff ------> would be nice to have some visible cue that this is on level with the 'if'