Intellij-如何查看属于Maven依赖性的元素(注释,方法,班级等)的完整Javadoc?
Intellij仅显示一个非常简短的描述,而不显示Maven依赖项中包含的元素的完整Javadoc,我如何看到完整的Javadoc?
IntelliJ only shows a very brief description and not the full javadoc of elements included in maven dependencies, how can I see the full javadoc?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要强迫Intellij下载与Maven依赖关系相关的文档,因为默认情况下不启用此文档。为此,请按照接下来的步骤:
这将确保为将添加到该项目的所有模块自动下载文档。
如果您已经在执行此操作之前已经打开/创建了Maven模块,请在下一个模块上解决此问题。对于当前模块:
请注意,这仅适用于当前项目。我不确定是否有一种在所有Intellij项目中应用全球应用的方法。
You need to force IntelliJ to download the documentation associated with the maven dependencies as this is not enabled by default. To do so, follow the next steps:
This will ensure the documentation is automatically downloaded for all modules that will be added to this project.
If you have already opened/created a maven module before doing this, then do the above to solve this issue for the next modules. For the current module:
Please note that this works only for the current project. I'm not sure if there's a way to apply this globally across all IntelliJ projects.