Eclipse Helios没有显示Javadoc [英] Eclipse Helios not showing Javadoc
问题描述
但是,在我的新计算机上,这个Javadoc不会出现,只有方法建议出现 - 但是即使方法的参数也没有命名'刚刚调用 arg0
, arg1
等等)。我可以想到的唯一的事情是在新的安装上是不同的ZoneAlarm,但据我看到,我已经允许eclipse通过防火墙;除非它与Java本身有关。
此功能对我来说非常有用,所以如何解决此问题的任何建议将不胜感激。感谢提前。
Eclipse正在使用JRE而不是JDK作为默认Java。
- 下载并安装JDK。
- 在Eclipse首选项中,Java - >已安装JRE。使用添加或搜索找到并添加刚刚安装的JDK。
- 将指示默认Java的复选标记移动到新发现的JDK。
- 允许工作区重建。
I have recently got a new computer and I have put Eclipse Helios on there. Before, on my old computer, when I used the control-assist (Ctrl + Space) and highlighted the suggested methods, the Javadoc for that method used to appear at the side of the control assist pop up window with the method description and parameters etc...
However, on my new computer this Javadoc doesn't appear and only the method suggestions appear - but even the arguments for the methods aren't named (they're just called arg0
, arg1
and so on). The only thing I can think of that is different on the new install is ZoneAlarm but as far as I can see I have allowed eclipse through the firewall; unless it's something to do with Java itself.
This feature is really useful to me so any advice on how to resolve this issue would be greatly appreciated. Thanks in advance.
Eclipse is using a JRE instead of a JDK as the default Java.
- Download and install a JDK.
- In Eclipse Preferences, Java -> Installed JRE's. Use "Add" or "Search" to locate and add the JDK just installed.
- Move the check mark indicating the default Java to the newly found JDK.
- Allow the workspace to rebuild.
这篇关于Eclipse Helios没有显示Javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!