Skip to main content

IDE update

Last night the Utah Python User Group held an editor/IDE smackdown. I'm not going to write an exhaustive summary, but here are some highlights:
  • ViM's OmniComplete is actually pretty decent. Calltip support in the GUI is also good. (GUI? ViM? Yeah, weird.)
  • Emacs completion, from Rope, is also good. Emacs's refusal to make any concession to GUIs though keeps things clunky. Not that it isn't great that Everything Works over plain ssh; that's fine, but going through classic Emacs buffers for docstrings or completion means everything takes more keystrokes than it should while being less useful than having that information Always On.
  • Rope also gives Emacs refactoring support that works surprisingly well.
  • PyDev still sees a big win from the Eclipse platform. Specifically, even though Subclipse and Subversive are a bit weak compared to the gold standard (that would be TortoiseSVN), they are much better than what you get with Komodo or Wing. Now that I am on OS X (no Tortoise) this is a bigger issue for me than it used to be.
  • PyDev Extensions has refactoring support now, too.
  • Komodo has limited support for completion inside django templates. Which is impressive, since the commands allowed in django templates aren't really Python, which is to say that you can't just use the same completion support that you use for normal Python code.
  • Mako template support with completion, anyone?
  • The latest versions of Komodo and Wing both integrate unittest support. Wing also supports doctest out of the box. Meaning, you click a button, your tests run, you get a pretty summary with click-to-go-to-the-source-of-the-error support. This might get me to finally upgrade to Wing 3. It's not that "python test.py" is so hard, so much as I do it so often that even a little more convenience adds up.
I was surprised how well ViM and Emacs do with Python now. ViM's modern inline interface for code completion and Emacs's refactoring support are particularly nice. The IDEs still win on the I part (Integration), in particular debugging and (for Eclipse at least) svn support.

Update: Ryan McGuire blogged about his Emacs presentation in more detail.

Update 2: John Anderson blogged about setting up ViM

Comments

Huitzilo. said…
Nice summary! Did they mention Eric too? It looked very promising when I tried it some time ago.
pythoncoder said…
If you're looking for a decent mako editor, try ulipad. It does python too.

Granted ulipad isn't advanced, but it's snappy and *just works*. Give it a try. I use it exclusively for editing mako stuff.

http://code.google.com/p/ulipad/

I recommend using the svn version as the author is pretty active.
Nat said…
Are you talking about Komodo Edit or Komodo IDE ? Komodo IDE has pretty nice support for SVN, you can see diffs, navigate history etc...
Anonymous said…
The problem with Komodo is that I can't seem to make it correctly understand relative imports. Whereas PyDev Extensions does, flawlessly.
Doug Napoleone said…
I must say that when it comes to debugging large complex python programs (Django, Plone, Twisted), Wing wins hands down. The remote and probe debugging is far superior to any of the other IDE's. The ability to click anywhere on the stack and have an interpreter set to that stack frame improved my productivity more than any other feature. Komodo has decent debug capabilities (including remote debugging) but it is so slow, that it is pretty much unusable. There are also some massive bugs in komodo when you get to a large number of files open. Search stops working properly for one! I end up spending equal time in Wing and Komodo, mainly because Komodo it the IDE I use at work for doing C/C++/python/perl cross development, where a perl debugger is critical when I have to go there.

Komodo Edit is too restrictive for me. Don't care for it.
Unknown said…
On my Mac, I recently found something similar to TortoiseSVN, but for the Mac. You may want to checkout http://scplugin.tigris.org/. It integrates with Finder, similarly to the way that Tortoise does with explorer on windows.

Also, I typically do SVN operations right within emacs using the psvn package, which should come installed "out-of-the-box" in most recent emacs dists... Can't get me enough emacs lovin, myself.
Anonymous said…
take a look at editra.

Although brand new(ver 0.sth), is written in python, has vi emulation, uses scintella, takes an OK in interface/auto completion abilites.

I think it worths a try!
Anonymous said…
I never really got into the whole Big IDE thing; I normally just use IDLE (when stranded on windows, because it comes with python) or Emacs (because it's really good, comes with my distro, and I use it for everything else anyways).
Fabio Zadrozny said…
Reply to Doug Napoleone:

Have you already tried Pydev/Pydev Extensions? I believe it can fulfill your requisites there. It has: Remote Debugging, select stack for local variables, multiple threads, breakpoint on condition, watches, console to issue commands to a given place in the stack, hyperlinks in console, python/jython support, etc... and it should be pretty fast too.
Viagra said…
I think that this update will be very useful for all Python users. I hope that continuing creating something like this.
RFincher said…
DevOps foundation engineer exists to give decisive reasoning, specialized development, and meticulousness while filling in as a counselor and pioneer to a group. Obligations of a DevOps foundation designer can incorporate structure and keeping up with cloud framework and CI/Compact disc pipeline, supporting item and center administrations group by improving proficiency through computerization and instruments, and making thoroughly examined engineering with an accentuation on quality>> engineer for hire

Popular posts from this blog

Python at Mozy.com

At my day job, I write code for a company called Berkeley Data Systems. (They found me through this blog, actually. It's been a good place to work.) Our first product is free online backup at mozy.com . Our second beta release was yesterday; the obvious problems have been fixed, so I feel reasonably good about blogging about it. Our back end, which is the most algorithmically complex part -- as opposed to fighting-Microsoft-APIs complex, as we have to in our desktop client -- is 90% in python with one C extension for speed. We (well, they, since I wasn't at the company at that point) initially chose Python for speed of development, and it's definitely fulfilled that expectation. (It's also lived up to its reputation for readability, in that the Python code has had 3 different developers -- in serial -- with very quick ramp-ups in each case. Python's succinctness and and one-obvious-way-to-do-it philosophy played a big part in this.) If you try it out, pleas...

A week of Windows Subsystem for Linux

I first experimented with WSL2 as a daily development environment two years ago. Things were still pretty rough around the edges, especially with JetBrains' IDEs, and I ended up buying a dedicated Linux workstation so I wouldn't have to deal with the pain.  Unfortunately, the Linux box developed a heat management problem, and simultaneously I found myself needing a beefier GPU than it had for working on multi-vector encoding , so I decided to give WSL2 another try. Here's some of the highlights and lowlights. TLDR, it's working well enough that I'm probably going to continue using it as my primary development machine going forward. The Good NVIDIA CUDA drivers just work. I was blown away that I ran conda install cuda -c nvidia and it worked the first try. No farting around with Linux kernel header versions or arcane errors from nvidia-smi. It just worked, including with PyTorch. JetBrains products work a lot better now in remote development mod...

A review of 6 Python IDEs

(March 2006: you may also be interested the updated review I did for PyCon -- http://spyced.blogspot.com/2006/02/pycon-python-ide-review.html .) For September's meeting, the Utah Python User Group hosted an IDE shootout. 5 presenters reviewed 6 IDEs: PyDev 0.9.8.1 Eric3 3.7.1 Boa Constructor 0.4.4 BlackAdder 1.1 Komodo 3.1 Wing IDE 2.0.3 (The windows version was tested for all but Eric3, which was tested on Linux. Eric3 is based on Qt, which basically means you can't run it on Windows unless you've shelled out $$$ for a commerical Qt license, since there is no GPL version of Qt for Windows. Yes, there's Qt Free , but that's not exactly production-ready software.) Perhaps the most notable IDEs not included are SPE and DrPython. Alas, nobody had time to review these, but if you're looking for a free IDE perhaps you should include these in your search, because PyDev was the only one of the 3 free ones that we'd consider using. And if you aren...