在Spyder中对缩进级别/视觉指示进行颜色编码 [英] Colorcode the indents level / visual indication in Spyder

查看:154
本文介绍了在Spyder中对缩进级别/视觉指示进行颜色编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用Spyder进行一些Numpy工作,而python的缩进机制使我有些困惑.如果我可以为每个压痕级别使用一些颜色编码或一些虚线(例如在notepad ++中),那将非常有帮助.有没有办法启用这种功能,或者我可以使用任何插件?

I am using Spyder for some Numpy work currently and python's indentation mechaninc is confusing me a little. It would be really helpful if I could have some color coding for each indentation level or some dotted lines (like in notepad++). Is there a way to turn such a feature on, or any plugins I can use?

推荐答案

(此处为Spyder开发人员)自Spyder 2.3.3 起,此功能可用,您可以激活它在菜单项下

(Spyder developer here) This functionality is available since Spyder 2.3.3 and you can activate it under the menu entry

Source > Show blank spaces

这篇关于在Spyder中对缩进级别/视觉指示进行颜色编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆