It's not a secret anymore!
The moose likes IDEs, Version Control and other tools and the fly likes Show constructors in NetBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Show constructors in NetBeans" Watch "Show constructors in NetBeans" New topic

Show constructors in NetBeans

podonga poron
Ranch Hand

Joined: May 12, 2008
Posts: 55
How to make NetBeans show constructors like Eclipse does ...

for example ..

when i'm writting in Eclipse

FileReader fr = new FileReader(); /* here Eclipse shows all the constructors availables */

Anybody knows how to set NetBeans to do something similar ?

Tom Johnson
Ranch Hand

Joined: May 11, 2005
Posts: 142
In Netbeans 6.0 this happens automatically for me....

FileReader fileReader = new FileReader();

Positioning cursor between constructor brackets, press CTRL+Space for content assist and the various constructors should be available...

<a href="" target="_blank" rel="nofollow">Use Code Tags!!</a>
podonga poron
Ranch Hand

Joined: May 12, 2008
Posts: 55
great !

i didn't know the "ctrl + space" thing

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33130

We have a forum for IDEs here. I'm going to move this so future people with the question can find it when searching.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Show constructors in NetBeans
jQuery in Action, 3rd edition