Monday, March 31, 2008

Eclipse Eclipsed?

I have found a worthy adversary to Eclipse: NetBeans. Its PHP support is... I guess "heartwarming" would be a suitable word. It's even more Java-In-Your-Face than Eclipse, but I guess it's not a surprise, when put in the context that both IDE:s are kind of a marketing channel for Java. I guess there's some kind of a piss-fight between Eclipse and NetBeans going on - ironic, as NetBeans is based on Eclipse.

A very quick review based on a few minutes of playing around: It feels nice, although a bit rough to the edges. Eclipse seems clumsier and NetBeans more up-to-date. But on my Mac NetBeans seems inexplicably slow. It's not chewing on my CPU constantly, but the lag on most controls is mind-boggling (in the 1-second range). NetBeans has many things integrated that need to get installed as plug-ins for Eclipse (SVN, SQL support and SQL query dialogue(!), transparent uploading/copying of files to appropriate web servers via local filesystem or FTP).

Talking about plug-ins, the Eclipse plug-in system has always been more or less a laugh. I've compared it to the early RPM-craze with RedHat: endless dependency recursions, and you have to hunt them down mostly by hand. NetBeans has a working central repository of plug-ins, which just install on the computer and simply work.

Other than the mysterious sluggishness, I have one major gripe with NetBeans (thus far): There's too much chrome. I'm working on a MacBook Pro with a 15" screen and a code font size of 10 points (barely tolerable), and I still have way too little workspace for the code. While I do admit that 15" is not too much to begin with, but Eclipse's not-at-all-too-minimalistic GUI looks spacious when compared to NetBeans'.

If I can get to the root of the sluggishness of NetBeans, I most probably work with that for a while, to see if it would be a replacement to Eclipse.

In a nutshell: I get good vibes out of NetBeans and its young age shows in both positive and negative ways.

Update: I seem to have found a tweak that's plaguing more than me or even NetBeans. I needed to add the line "-J-Dsun.java2d.ddoffscreen=false \" to NetBeans.app/Contents/Resources/NetBeans/bin/netbeans on line 185, under "eval launchNbexec \". Smoother, but some actions (like tab reorganization) still take weird amounts of time.

No comments: