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

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

问题描述

当我对 j2ee 类或 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 添加到 IDEA 提供的库中?

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

推荐答案

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

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天全站免登陆