9

Eclipse shows JavaDoc help in a tooltip window when I hover with the mouse over a symbol. This is great, but it would be better if I could pop up this tooltip from the keyboard when the cursor is on the symbol. Is there a shortcut which does this?

I found Shift-F2 which opens external JavaDoc and I do not want that. I'd like to pop up the same tooltip with the keyboard which is shown on mouse hover.

Edit: Thanks, that was quick. :) I accepted the quickest answer.

Joachim Sauer
  • 302,674
  • 57
  • 556
  • 614
Tom
  • 7,515
  • 7
  • 38
  • 54

3 Answers3

12

Try pressing only F2 when cursor is on that word. It will open the same popup dialog as you get when you hover on it.

Joachim Sauer
  • 302,674
  • 57
  • 556
  • 614
Harry Joy
  • 58,650
  • 30
  • 162
  • 207
4

Move the cursor on a method/class/variable and press F2.

Buhake Sindi
  • 87,898
  • 29
  • 167
  • 228
0

In Netbeans 7.3 the shortcut is Ctrl + Shift + Space
See the original answer at: How to see Javadoc documentation on mouse hover in NetBeans?

Community
  • 1
  • 1
Sergey
  • 324
  • 4
  • 9