Netbeans在鼠标悬停时显示方法标题(Params,返回值)

时间:2014-01-16 09:00:47

标签: java netbeans ide

从其他IDE我知道当我用鼠标悬停在工具提示形式的方法名称时,我得到Javadoc或至少是方法标题定义。

someClass.someMethod(param1, param2)

如果foo有一个,那么将鼠标悬停在foo上会显示param1和param 2的类型以及返回类型。

这在Java中是否可行?

1 个答案:

答案 0 :(得分:2)

Netbeans 7.0或更高版本

  • 按住Strg并将鼠标悬停在方法名称上。 (如果该行有错误,则无效)。

enter image description here

  • 将光标移动到方法名称上,然后按Ctrl + Shift + Space

enter image description here

相关问题