NetBeans 未生成 javaDoc 的 @author 和 @version?

发布于 2024-09-28 06:25:35 字数 147 浏览 2 评论 0原文

默认情况下,NetBeans 不会从 @author 和 @version 标记生成文档。如何从 IDE 中启用此功能?

编辑:NetBeans 中确实有一个选项可以显示这些标签。运行>设置项目配置>自定义...展开构建并选择文档 - 复选框位于中间。

NetBeans by default will not generate documentation from @author and @version tags. How do I enable this from within the IDE?

Edit: There is indeed an option within NetBeans to display these tags. Run>Set Project Configuration>Customize... Expand Build and select Documenting - the checkboxes are right in the middle.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

橘和柠 2024-10-05 06:25:35

修改Ant 的构建文件build.xml。重新定义您的“javadoc”目标以包含您认为合适的所有信息。该解决方案独立于 NetBeans,因此它可以与任何基于 Ant 的构建环境配合使用。

这里是一些非常具体的说明。

Modify build.xml, the build file for Ant. Redefine your "javadoc" target to include all of the information you see fit. The solution is independent from NetBeans, so it'll work with any Ant-based build environment.

Here are some very concrete instructions.

╰沐子 2024-10-05 06:25:35

可以在设置中设置:

右键单击项目 ->属性-> (构建)->记录,检查记录附加标签下面的两个标签。

Its possible in the settings:

right click on project -> properties -> (Build) -> Documenting, check both tags below Document Additional Tags.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文