How to see Javadoc documentation on mouse hover in NetBeans?

前端 未结 4 472
挽巷
挽巷 2020-12-23 16:16

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

相关标签:
4条回答
  • 2020-12-23 16:39

    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.

    0 讨论(0)
  • 2020-12-23 16:41

    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.

    0 讨论(0)
  • 2020-12-23 16:45

    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

    0 讨论(0)
  • 2020-12-23 16:59

    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

    0 讨论(0)
提交回复
热议问题