简体   繁体   English

有没有办法像eclipse一样在netbeans中查看方法的注释?

[英]is there a way to see method's comment in netbeans like in eclipse?

On Eclipse when i point the mouse up to a method it shows the method's comment (java doc), is there any way to do some thing like that in netbeans (7.3) without putting the cursor in the method middle and hitting Ctrl + Space? 在Eclipse上,当我将鼠标指向某个方法时,它会显示该方法的注释(java doc),是否可以在netbeans(7.3)中执行类似的操作而无需将光标置于该方法的中间并按Ctrl + Space?

Thanks in advance! 提前致谢!

You can view the javadoc in Netbeans by clicking on the method and press Ctrl+Shift+Space . 您可以通过单击方法并按Ctrl+Shift+Space来查看Netbeans中的Javadoc。 Here You have more NetBeans shortcuts. 在这里,您有更多的NetBeans快捷方式。

It is supported in NetBeans 8. NetBeans 8支持它。

Show Javadoc as tooltip while hovering (Note: hold CTRL-key) (Issue 95691)

See http://wiki.netbeans.org/NewAndNoteworthyNB80#Editor_2 参见http://wiki.netbeans.org/NewAndNoteworthyNB80#Editor_2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM