英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论