Eclipse:添加javadoc [英] Eclipse: add javadoc

查看:275
本文介绍了Eclipse:添加javadoc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



作为一个例子:

我想添加所有的javadoc for hibernate在日食中,但我不知道如何。
我已经阅读这篇文章如何在Eclipse中添加hibernate javadocs? 但是我不想得到hibernate工具,因为我已经使用了STS,我不明白其他注释。



我正在使用eclipse Ubuntu。

解决方案

另一个选择是使用maven / m2eclipse来管理你的依赖。



如果您有1或2个图书馆的问题,那么这个方法太过分了,但是如果您有十几个图书馆,那么值得考虑。



大多数开源项目都会发布jar和-src.jar工件,m2eclipse可以自动去下载源。


How can I generally add javadoc in eclipse for different packages.

As an example:
I want to add all the javadoc for hibernate in eclipse, but I don't know how. I've read this article How to add hibernate javadocs in Eclipse? but I don't want to get hibernate tools because I already use STS and I don't understand the other comment.

I'm using eclipse on Ubuntu.

解决方案

Another option is to use maven/m2eclipse to manage your dependencies.

It's way overkill if you have the problem for 1 or 2 libraries, but worth considering if you have a dozen.

Most open source projects publish both the jar and the -src.jar artifacts, and m2eclipse can go and download automatically the source for you.

这篇关于Eclipse:添加javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆