VextoR
VextoR

Reputation: 5165

How to see Javadoc documentation on mouse hover in NetBeans?

Is it possible, when you mouse hover on method/class so you can see Javadoc in NetBeans 7?

I want similar to Eclipse, when you just mouse hover on String and you can read Java API documentation about it.

Maybe there is some hot key for that...

Upvotes: 58

Views: 28848

Answers (4)

Rakesh
Rakesh

Reputation: 4334

You can view the javadoc in Netbeans by clicking on the method and press Ctrl + Shift + Space
(Command + Shift + Space on Mac) You can also see the various shortkeys in the help menu>keyboard shortcuts card.

UPDATE:

You can instead open a "javadoc" window from the menu Window>IDE Tools>Javadoc Documentation. This will show the javadoc in a window near the output window for that method when you click on the method or object

Upvotes: 63

Anwuna
Anwuna

Reputation: 1113

I know that in netbeans 8.0 you can hold down the ctrl button and hover over the class or method, etc. and the javadoc window would appear.

Upvotes: 39

Raju Penumatsa
Raju Penumatsa

Reputation: 413

You can even open Javadoc window and you can see the javadoc in that. I prefer this way

Window >> Other >> javadoc.

Now you can see both your code and respective javadoc.

Update for Netbeans 8:

Window >> IDE Tools >> Javadoc Documentation

Upvotes: 9

Aurelien Ribon
Aurelien Ribon

Reputation: 7634

Javadoc won't show up with just a mouse hover, but you can click on a word (method/class/field/variable/whatever name) and press ctrl+space. Javadoc should show up.

Upvotes: 19

Related Questions