Search code examples
javanetbeanside

Netbeans show method header (Params , Return value) on mouse over


From other IDE's i know that i get either Javadoc or at least the Methods header definiton when i hover with mouse across a methods name in form of a tooltip.

someClass.someMethod(param1, param2)

So hovering across foo would display me the types of param1 and param 2 and the return type if foo has one.

Is this somehow possible in Java?


Solution

  • Netbeans 7.0 or higher

    • Hold down Ctrl and hover the mouse over the method name. (does not work , if the line has an error).

    enter image description here

    • Move the cursor on the method name, and press Ctrl + Shift + Space

    enter image description here