Mitch
Mitch

Reputation: 1634

Eclipse plugin for python to give different indentation levels different colors

What I'm looking for is an eclipse extension to work with PyDev to make different levels of indentation have different colored indentations before it. For example, reference the code block below

1     for line in list:
2         function.dothing()
3         if condition:
4             do something

The plugin I'm looking for, if it exists, would color the spaces between 1 and for one color (say, red), and then the spaces between the numbers and text on lines 2/3 a different color (say, green), and the spaces between 4 and do yet another color (say, blue). Does anything like this exist, if yes, what's it called?

(Bad) graphical representation:

Upvotes: 1

Views: 134

Answers (1)

Fabio Zadrozny
Fabio Zadrozny

Reputation: 25332

I don't think there's such an option right now. Currently the closer you can get is EditBox: https://github.com/Nodeclipse/EditBox

Not sure, but it may be something that could be added as an option to EditBox if you're up to changing its code...

Upvotes: 1

Related Questions