Search code examples
pythoneclipse-pluginpydev

Does Eclipse have indentation guides?


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...............


Solution

  • 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

    enter image description here

    These are the options: enter image description here

    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