NetBeans 需要 Javadoc,而 Eclipse 不需要?
我刚刚安装了 NetBeans,想尝试一下。一些上下文提示(弹出的 javadoc 内容)有效,但没有详细信息。它说“未找到 Javadoc...”。
不过,我使用 Eclipse(我当前的 IDE),它可以毫无问题地显示详细的上下文提示。
我是否必须下载 100+mb 的 zip 文件才能获取 javadoc,还是可以让 Netbeans 指向 Eclipse 已经识别的任何内容?
I just installed NetBeans, and want to try it out. Some context tips (popup javadoc stuff) work, but nothing detailed. It says "Javadoc not found...".
However, I use Eclipse (my current IDE) and it has no problem showing detailed context tips.
Do I HAVE to download the 100+mb zip file to get the javadoc, or can I have Netbeans point to whatever Eclipse is already aware of?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我猜想 Eclipse 中的文档并不是凭空出现的——您可能有 jdk 的 javadoc,或者它确实是与 Eclipse 一起打包的。无论如何这里是如何在 NetBeans 中添加 JDK javadoc。当我开始思考这个问题时,我认为 Eclipse 会从 JDK 源(如果可用)生成文档,而 NetBeans 可能不会。
I guess that the documentation in Eclipse didn't appear from nowhere - you might have javadoc for the jdk lying around or it's really packaged with Eclipse. In any rate here is how you add the JDK javadoc in NetBeans. When I come to think about it I think that simply Eclipse generates the documentation from the JDK sources if they are available and NetBeans probably doesn't.