如何在 Eclipse 中生成 Javadoc HTML 文件? [英] How to generate Javadoc HTML files in Eclipse?

查看:36
本文介绍了如何在 Eclipse 中生成 Javadoc HTML 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目代码中编写了这样的 Javadoc 样式注释:

I have written Javadoc style comments like this in my project's code:

/**
 * Description...
 *
 * @param ...
 * @return .....
 */

如何使用 Eclipse IDE 生成 Javadoc HTML 文件?

How can I generate Javadoc HTML files using the Eclipse IDE?

推荐答案

  1. 项目 > 生成Javadoc....

Javadoc 命令: 字段中,浏览以找到 javadoc.exe(通常位于 [path_to_jdk_directory]injavadoc.exeem>).

In the Javadoc command: field, browse to find javadoc.exe (usually at [path_to_jdk_directory]injavadoc.exe).

选中您要为其创建 Javadoc 的项目/包/文件旁边的框.

Check the box next to the project/package/file for which you are creating the Javadoc.

Destination: 字段中,浏览以找到所需的目的地(例如,当前项目的根目录).

In the Destination: field, browse to find the desired destination (for example, the root directory of the current project).

点击完成.

您现在应该能够在目标文件夹中找到新生成的 Javadoc.打开index.html.

You should now be able to find the newly generated Javadoc in the destination folder. Open index.html.

这篇关于如何在 Eclipse 中生成 Javadoc HTML 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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