Adam Bien's Weblog

Saturday Sep 05, 2009

Two Useful Eclipse 3.5 Features, Which I Miss in Netbeans 6.8

  1. toString method generation: This is a really low hanging fruit. Eclipse 3.5 generates toString() methods from private attributes. NetBeans 6.8 is not able to do that. Vote for this feature here.
  2. Navigation: In Eclipse 3.5, if you click+ctrl / cmd on a reference to an interface type, it asks you, whether you would like to navigate to an implementation of this interface (and lists all choices), or just open the declaration. This is a really nice feature. Vote for this feature here.
However, in Java EE 5-6 / Database / Swing areas NetBeans 6.8 really shines


[my tweets]  Rss My book: Real World Java EE - Rethinking Best Practices

Kommentare:

Hi Adam,

1. toString generator:
I'm working on it ;-)
I like to do it similar to the getter/setter generator.
Developing the generator in NetBeans is very easy because there is a project template but it's hard to understand the NetBeans code.
The code of Eclipse is easier to read.

Kind Regards,
Simon

Gesendet von Simon Martinelli am September 05, 2009 at 11:24 AM CEST #

Eclipse integrates nice features and Netbeans will follow :-)

I downloaded Netbeans 6.8 and I am using it with Kenai. I must admit that Kenai is nicely integrated in Netbeans.

As a modeling guy, I seriously miss EMF and other goodies (reference between file and project view)

Gesendet von Thomas am September 06, 2009 at 12:02 AM CEST #

>reference between file and project view
already in 6.7:
http://wiki.netbeans.org/NewAndNoteWorthyNB67#section-NewAndNoteWorthyNB67-MiscellaneousImprovements

Gesendet von michael bien am September 06, 2009 at 12:40 AM CEST #

Another thing missing in Netbeans is the ability to unit test a single method. Quite often in development you run a single unit test repeatedly until you get the code and the test right (then you run the whole suite for regression purposes). At the moment you have to run the whole suite which can make you quite a bit less than 'agile'.

Gesendet von Mike Reid am September 06, 2009 at 08:08 AM CEST #

@Michael

Thanks for the info and link

Gesendet von Thomas am September 06, 2009 at 11:48 PM CEST #

@Thomas no problem ;)

Gesendet von michael bien am September 07, 2009 at 02:04 AM CEST #

toString in NB:
http://www.dzone.com/links/netbeans_generating_tostring_for_java_classes.html

Gesendet von Justinas am September 14, 2009 at 08:43 AM CEST #

Yes, the toString method is available as a plugin in netbeans...

Gesendet von Pablo am September 27, 2009 at 10:33 AM CEST #

Senden Sie einen Kommentar:
  • HTML Syntax: Ausgeschaltet
Interviews/About
My Recent Book
Java One 2009
CommunityOne East N.Y.C
JavaONE 2008 Interview
Search
...the last 150 posts
...the last 10 comments
greenfire.dev.java.net
Links
my.netbeans.org
Visitors
License