Features I Missed In NetBeans 6.8, came with 6.9

NetBeans 6.8 didn't came without toString() generation and "Go To Implementation" navigation. Both features were available for Eclipse / IntelliJ, but not NetBeans. NetBeans 6.9.1 implements both:

  1. toString() method can be generated with cmd+i (Mac), or Alt+Enter (Win) and choosing toString. It comes, however, with a small bug - some blanks between attributes are missing (e.g. Post{" + "uri=" + uri + "[]title=" + title + "[]numberOfHits=" + numberOfHits + '}').
  2. You can easily navigate from an interface to its implementations, as well as from the implementations to its interface by clicking on the "I" icon. Interestingly: I do not use this feature a lot, because I was able to delete most of the interfaces with the introduction of Java EE 6 to my projects.

...already looking forward to NetBeans 7.0


NEW: Online Workhop Effective WebApps without Frameworks is also coming to: MUC Airport.

Airport MUC workshops: Web (SPA, PWAs, Offline, Desktop, Mobile) Applications Essentials and Effective Web Applications. No migrations. #usetheplatform

Podcast: airhacks.fm and newsletter: airhacks.news

A book about rethinking Java EE Patterns

Comments:

2) should work if you click the symbol on the right side of the interface/impl definition. Don't know if a shortcut exists.

Posted by michael bien on October 10, 2010 at 05:34 PM CEST #

on the left side of course :)

Posted by michael bien on October 10, 2010 at 05:35 PM CEST #

@Michael,

...and not only on the interface/impl declarations - also works with methods.
The shortcut is: shift+cmd+p (on mac),

thanks,

adam

Posted by adam-bien.com on October 10, 2010 at 07:16 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
realworldpatterns.com
...the last 150 posts
...the last 10 comments
License