Friday, October 19, 2012

Display indentation lines/code blocks in PyDev - Eclipse using EditBox

If you've used editors like Notepad++ for programming you must've noticed how helpful it is to have the indentation lines displayed. Especially when programming in Python where we have indentation-based scopes.

I missed this in Eclipse and this often resulted in silly bugs which were the result of incorrectly indented lines of code resulting in an incorrect scope.

This is where EditBox comes in.

It is a plugin for Eclipse which encapsulates all code within the same indentation-level/scope into a single colored block. If you do not want the colors, it also provides simple indentation lines (like Notepadd++).

Installation

Use update site: http://editbox.sourceforge.net/updates or install manually:
  1. Download plugin jar file into Eclipse dropins or plugins directory.
  2. Start Eclipse.
  3. To enable Editbox press the button located on the toolbar. Note: Depending on your configuration it might be required to turn off current line highlighting (see Window->Preferences->EditBox).

2 comments:

Popular Posts