如何在IntelliJ中显示整个类的文档,而不仅仅是单个方法或类的文档。

huangapple go评论67阅读模式
英文:

How display the whole documentation of a class instead of only that of only a single method or class with IntelliJ

问题

我正在使用IntelliJ在MacOS上编写Java代码。有一个遗留类,其中有许多公共方法,每个方法可能都有文档。我可以使用F1来显示单个方法或类的文档。

但我想在一个视图中查看类的所有方法的文档(可能是可滚动的),这是可能的吗?如果可能,如何实现?

英文:

I am using IntelliJ to code Java with MacOS. There is a legacy class with many public methods with documentation on probably each of them. I am able to use F1 to display documentation of a single method or a class.

But I would like to see the documentation of all methods of a class in one view (probably scrollable), is it possible? is possible how?

答案1

得分: 0

IntelliJ IDEA不提供“查看完整文档”弹出窗口。

如果您有相关类的源代码,可以使用“工具” -> “生成Javadoc”来生成该类的文档,然后像往常一样在浏览器中查看生成的文档。

英文:

IntelliJ IDEA does not offer a "view complete documentation" popup or window.

If you have the source code for the class in question, you can use "Tools" -> "Generate Javadoc" for said class and then view the generated documentation in a browser as usual.

huangapple
  • 本文由 发表于 2023年6月5日 19:58:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/76406197.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定