如何在 NetBeans 中查看有关鼠标悬停的 Javadoc 文档? [英] How to see Javadoc documentation on mouse hover in NetBeans?
问题描述
是否有可能,当您将鼠标悬停在方法/类上时,您可以在 NetBeans 7 中看到 Javadoc?
Is it possible, when you mouse hover on method/class so you can see Javadoc in NetBeans 7?
我想要类似于 Eclipse,当您只需将鼠标悬停在 String
上时,您就可以阅读有关它的 Java API 文档.
I want similar to Eclipse, when you just mouse hover on String
and you can read Java API documentation about it.
也许有一些热键...
推荐答案
您可以在 Netbeans 中通过单击方法查看 javadoc 并按 Ctrl + Shift + Space
(Command + Shift + Space 在 Mac 上)您还可以在帮助中看到各种快捷键菜单>键盘快捷键卡.
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.
更新:
您可以改为从菜单窗口>IDE 工具>Javadoc 文档 中打开javadoc"窗口.当您单击方法或对象时,这将在该方法的输出窗口附近的窗口中显示 javadoc
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
这篇关于如何在 NetBeans 中查看有关鼠标悬停的 Javadoc 文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!