NetBeans 未生成 javaDoc 的 @author 和 @version?
默认情况下,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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(2)
修改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.
可以在设置中设置:
右键单击项目 ->属性-> (构建)->记录
,检查记录附加标签
下面的两个标签。Its possible in the settings:
right click on project -> properties -> (Build) -> Documenting
, check both tags belowDocument Additional Tags
.