/ Hathaway Weblog / Eclipse + Python?

Shane :: Python :: July 13, 2004 # Eclipse + Python?

I've been using the open source Eclipse IDE for a couple of months to write Java code. Eclipse is heavy, but it has three great features that motivate me to fire up the IDE rather than Xemacs:

  • Code completion tied into import statements. Code completion alone isn't a big deal to me, but what's special in Eclipse is that code completion automatically generates import statements. If I want to use some class in my code, I type the class name then hit ctrl-space. A menu pops up asking me which class I meant. Once I've selected the right one, an import statement is transparently added to the top of the code (if it's not already there). Also, unused imports are automatically flagged with a warning. This means I can almost completely ignore import statements. Less to think about--very nice.
  • The "refactor" and "source" menus. I can rename a symbol just by hitting Alt-Shift-R; it even renames files and suggests changes to comments accordingly. I can generate stubs for implementing an interface with a couple of clicks.
  • Compile-as-you-go. Not only is compilation automatic, the IDE highlights syntactic/spelling mistakes just after you type them.

I would sure like to have these features when writing Python. I know there are some Eclipse + Python projects, but I haven't taken the time to learn whether they include the features I listed. I'll take some time to find out soon.

No further comments may be added.

Click below to fill in the scripture reference.
Your browser is not able to display the scripture fill-in program. To see it, enable Javascript or use Mozilla 1.0 or better.
But the LORD said unto Samuel, Look not on his countenance, or on the height of his stature; because I have refused him: for [the LORD seeth] not as man seeth; for man looketh on the outward appearance, but the LORD looketh on the heart.

Church: lds scriptures provident games pearls kzion shiblon film chancellor gateway cumorah byutv happiness nephi
Zope: freezope org com zen labs newbies zettai warnes
Python: home pyzine daily icanprogram
Genealogy: cyndi
Weblogs: jeffrey paul jon joel another-shane guido barry jeremy windley chrism zac
News: quakes lwn dc weather deseret zeitgeist softwarelivre
Zaurus: software developer
Tech: tango spintronics thin
Semantic: aaron sean
Reference: css rdf html4 javascript geckodom iecss emacs phrases acronyms
Reverse: advogato slashdot
Misc: gimp-savvy directory soda jokes shouldexist pdphoto