Eclipse有缩进指南吗? [英] Does Eclipse have indentation guides?

查看:214
本文介绍了Eclipse有缩进指南吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我使用Eclipse编辑我的python代码。但缺乏缩进指南,感觉不是很好。那么如何添加Eclipse的自动缩进指南?有没有一定的插件?
此外,我尝试过EditBox。但是,你知道,在某些主题下这不是很自然...............

解决方案

我也使用EditBox,使用正确的选项它真的很有用,并且不会改变编辑器的外观。



如果你只想要垂直灰色线条显示这样的缩进/块





这些选项是:



或者如果您只想导入选项,请将其粘贴到文本文件中并将其导入。 (您可能需要添加文件扩展名.eb才能正常工作)

  #Editbox Eclipse插件设置
# Fri 8月17日12:58:32 CEST 2012
HighlightOne = true
FillGradient = false
FillSelected = true
RoundBox = true
BorderColorType = 1
名称=默认
ExpandBox = false
BorderDrawLine = true
FillOnMove = true
Alpha = 0
HighlightWidth = 1
BorderWidth = 1
HighlightColor = 000000
BorderColor = 00bbbb
FillKeyModifier = Alt
HighlightColorType = 3
FillGradientColor = e1e1d0
Builder = Text2
HighlightDrawLine = true
FillSelectedColor = e1e1d0
BorderLineStyle = 0
颜色= ffffff
HighlightLineStyle = 0
NoBackground = false
CirculateLevelColors = false


Recently, I use Eclipse to edit my python code. But lacking indentation guides, I feel not very well. So how to add the auto indentation guides for Eclipse? Is there certain plugin? What's more, I have tried the EditBox. But, you know, that is not very natural under some themes...............

解决方案

I use EditBox too and with the right options it is really usefull and doesn't change the look of the editor too much.

If you only want the vertical grey lines that show the indentation/block like this

These are the options:

or if you want to just import the options, paste this in a text file and import it. (You might have the add the file extension .eb for it to work)

#Editbox Eclipse Plugin Settings
#Fri Aug 17 12:58:32 CEST 2012
HighlightOne=true
FillGradient=false
FillSelected=true
RoundBox=true
BorderColorType=1
Name=Default
ExpandBox=false
BorderDrawLine=true
FillOnMove=true
Alpha=0
HighlightWidth=1
BorderWidth=1
HighlightColor=000000
BorderColor=00bbbb
FillKeyModifier=Alt
HighlightColorType=3
FillGradientColor=e1e1d0
Builder=Text2
HighlightDrawLine=true
FillSelectedColor=e1e1d0
BorderLineStyle=0
Colors=ffffff
HighlightLineStyle=0
NoBackground=false
CirculateLevelColors=false

这篇关于Eclipse有缩进指南吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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