Feb 22 2007
Eclipse and PyDev
For the past few months, I’ve either been using “Stani’s Python Editor” or just SciTE to code and edit my python work. I thought SPE was pretty nice, and was generally happy with it. A few weeks ago, I started hearing about PyDEV - a python editing plugin for eclipse. Figured it was time to check it out. (This is all Windows specific crap - on my real development machine, I use TextMate)
Well, PyDEV works pretty darn well. Took ages to get my Eclipse install up to date (figuring out what you’re supposed to download at Eclipse is getting a LOT harder - what the hell is all that stuff?), and then a few bits more to get the PyDEV pieces installed. Once installed, it just started working like a champ.
It has some basic code completion functionality that I’m still tripping over, but which feels like it’ll be handy when I get used to it. Somewhere in there, it enables the use of PyLint (I’ve typically used PyChecker from the command line) - although I haven’t seen it function as yet. Logilab was down when I originally installed PyDev, and since I’ve added it - I don’t seem to be able to get the functionality invoked. I probably have some subtle misconfiguration…
The whole eclipse environment does take some getting used to - and it appears to even have some functionality for refactoring. Again, I haven’t used it (or figured out how to use it).
Overall, it’s a pretty nice setup - although I’ve had some problems getting various pieces to work properly. It runs unit tests nicely, and if I could figure out the PyLint thingy, I suspect it would keep my code looking a hell of a lot cleaner too. (Either that or I’d get annoyed with PyLint… a possibility as well).
