简体   繁体   English

如何在Eclipse中突出显示python缩进

[英]How to highlight python indentation in Eclipse

I'm new to Python, and just start using PyDev in Eclipse. 我是Python的新手,刚开始在Eclipse中使用PyDev。 Is there a way to highlight the range of my indentation? 有没有办法突出显示我的缩进范围? ie, show the level of current indent. 即,显示当前缩进的级别。 Like for Java, when click at the beginning of a curly brace ({}), the Eclipse will highlight (bold) the end curly brace. 与Java一样,当单击大括号({})的开头时,Eclipse将突出显示(加粗)结尾的大括号。 I wonder if there're similar functions for Python. 我想知道Python是否有类似的功能。 Thanks! 谢谢!

This is not currently implemented in PyDev (although it's already in the TODO list). 目前尚未在PyDev中实现(尽管它已经在TODO列表中)。

Still, you may want to check the EditBox plugin, which may be useful for indentation guides. 不过,您可能仍需要检查EditBox插件,这对于缩进指南可能很有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM