在Intellij IDEA中附加额外的javadoc [英] Attaching additional javadoc in Intellij IDEA

查看:399
本文介绍了在Intellij IDEA中附加额外的javadoc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在jEAee类或IDEA中的注释上使用快速文档查找(Ctrl + Q)时,我只得到一个空的javadoc。它只包含类名等基础知识。

When I use quick documentaion lookup (Ctrl+Q) on j2ee classes or annotations in IDEA I only get an empty javadoc. It only contains the basics like class name.

如何将javadoc添加到libs IDEA自身提供?

How do I add the javadoc to the libs IDEA provides itself?

推荐答案

您可以将javadoc附加到您在模块或项目中配置的任何库。只需访问项目结构窗口(文件 - >项目结构),然后选择模块并选择具有您要配置的依赖项的模块。

You can attach javadoc to any library you have configure in your module or project. Just access the project structure windows (File -> Project Structure), then select "modules" and select the module that has the dependency you want to configure.

然后选择依赖关系选项卡,选择缺少javadoc的依赖关系,然后单击编辑。在刚出现的窗口中,您会看到两个按钮添加和指定Javadoc URL。如果您在jar文件中有javadoc,请选择第一个,如果要指向包含javadoc的网站,请选择最新的。
就是这样。

Then select the "Dependencies" tab, select the dependency that's missing the javadoc and click "Edit". In the window that just showed up you see two buttons "Add" and "Specify Javadoc URL". If you have the javadoc in a jar file select the first one, if you want to point to a web site that contains the javadoc select the latest. That's it.

这篇关于在Intellij IDEA中附加额外的javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆