javadoc" @ author"没有显示? [英] javadoc "@author" not showing?
问题描述
每当我输入Printing并在intelliJ中按CTRL Q时,我只能看到摘要而我看不到Bob。 。 。我做错了什么?
Whenever I type in "Printing" and hit CTRL Q in intelliJ I can only see the "Summary" and I cant see "Bob" . . . what am I doing wrong?
package printing;
/**
* @author Bob
* <b>Summary</b>
*/
public class Printer {
//stuff
}
***注意:我只是学习如何使用javadoc,所以我希望得到解释。
***Note: I am just learning how to use the "javadoc" so I would appreciate an explanation.
编辑:我甚至看不到摘要除非我拿出@author
I cant even see "Summary" unless I take out the "@author"
推荐答案
我可以重现这种行为,并提出了一个问题来跟踪这个: http://youtrack.jetbrains.com/issue/IDEA-114499
I can reproduce this behavior and have raised an issue to track this : http://youtrack.jetbrains.com/issue/IDEA-114499
以下是我使用的代码:
package printing;
/**
* @author Simba
* @version 1
* @see java.util.Arrays
* @since 1
*/
public class Printer {
}
以及由此产生的文档:
And the resulting documentation:
但是,如果您尝试通过工具生成javadoc - >使用以下设置生成JavaDoc
:
However, if you try to generate the javadoc via Tools -> Generate JavaDoc
with the following settings :
然后,生成的生成的javadoc会显示作者标记:
then, the resulting generated javadoc does show the author tag:
因此证明javadoc本身就是声音,它是IntelliJ,不显示它。
therefore proving that the javadoc itself is sound and that it is IntelliJ that does not display it.
这篇关于javadoc" @ author"没有显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!