Eclipse Java 的自动文档工具

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6030567/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 14:03:03  来源:igfitidea点击:

Automatic documentation tool for eclipse Java

javadocumentation

提问by Adibe7

is there an automatic documentation tool for eclipse? (Like the Ghost Doc Tool) I'm working in Java and i want a reccomended tool.

是否有用于 Eclipse 的自动文档工具?(就像 Ghost Doc 工具)我在 Java 中工作,我想要一个推荐的工具。

thanks

谢谢

回答by Adibe7

Found a nice tool http://jautodoc.sourceforge.net/

找到了一个不错的工具http://jautodoc.sourceforge.net/

回答by Joeri Hendrickx

It's built-in.

它是内置的。

Just type /**[enter] above a method and it will autocomplete the javadoc. Then just use the javadoc tool to generate the html documentation.

只需/**在方法上方键入[enter],它就会自动完成 javadoc。然后只需使用 javadoc 工具生成 html 文档。

Obviously, all useful docs have to be written by hand.

显然,所有有用的文档都必须手工编写。

回答by Kishore

Another shortcut to generate Java document is (ALT+SHIFT+J) on selecting any method or class or variable etc in your eclipse IDE.

生成 Java 文档的另一个快捷方式是 (ALT+SHIFT+J) 在 Eclipse IDE 中选择任何方法或类或变量等。