I'm doing a reasonable amount of python-coding work these days. It would help me to have an editor that doesn't suck. My requirements are:
- Small & Fast. I'm not after a massive clunky IDE, just an editor with enough smarts to make editing multiple python files easier.
- Sensible syntax highlighting.
- Understands python indentation, PEP8 style. Specifically, indents with 4 spaces, backspace key can be used to unindent.
- Can be integrated with one or more lint checkers. Right now I use a wonderful combination of pep8, pyflakes and pylint. I want the output of these to be integrated with the editor so I can jump to the file & line where the problem exists.
That's it. I don't think I'm asking too much. Here's the editors I've tried, and why they suck:
- KATE. I love kate, it's my default text editor for almost everything. However, there is no way to integrate lint checkers. I could write a plugin, but that's yet another distraction from actually doing my work.
- Vim. I'm already reasonably skilled with vim, and Alain Lafon's blog post contains some great tips to make vim even better. My problem with vim is simply that it's too cryptic. Sure, I could spend a few years polishing my vim skills, but I want it to just work. Vim goes in the "kind of cool, but too cryptic" basket.
- Eric. When you launch eric for the first time it opens the configuration dialog box. It looks like this:
How many options do I really need for an editor? Over-stuffed options dialogs is the first sign of trouble. It gets worse however, once you dismiss the settings window, the editor looks like this:
Need I say more?
- Geany. Looks promising, but no integration into lint checkers.
- pida. Integrates with vim or emacs for the editor component. Looks promising, although the user interface is slightly clunky in places. Pida suffers from exactly the same problems as vim does however, but I may end up using it.
There are a few options I have not tried, and probably won't:
- Eclipse & pydev. Eclipse is a huge, hulking beast. I want a small, fast, lean editor, not an IDE.
- Emacs. Can't be bothered learning another editor. Doesn't look that much different to vim, so what's the point in learning both?
- KDevelop. Same reason as Eclipse, above.
I suspect there's a market for a simple python editor that just works. Please! Someone build it!