Intellij IDEA在小窗口中未显示完整的Javadoc [英] Intellij IDEA not showing full javadoc in small window

查看:305
本文介绍了Intellij IDEA在小窗口中未显示完整的Javadoc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得有一段时间前在Eclipse的热键上的小窗口中可以看到完整的Javadoc(两年前我使用Eclipse Java).在Intellij IDEA中,如何通过热键(当然是Ctlr + Q,因为我使用的是Ubuntu)或鼠标悬停在 full Javadoc上?我只看到我知道的函数参数和指定的类信息,但是我想从真实的

I remember that it was possible to see full javadoc in little window on hotkey in Eclipse some time ago (I used Eclipse Java two years ago). How can I see full javadoc in Intellij IDEA via hotkeys (Ctlr+Q of course, because I am using Ubuntu) or/and on mouse over? I see only function parameters and specified class information that I know, but I want to see a lot of description text from real Java documentation. I mean that small window with javadoc should contain this:

比较其两个参数的顺序.当第一个参数小于,等于或大于第二个参数时,返回负整数,零或正整数.

Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.

在前面的描述中,符号sgn(expression)表示数学符号函数...

In the foregoing description, the notation sgn(expression) designates the mathematical signum function...

...等等.但是我看不到此内容.

... etc. But I don't see this content.

推荐答案

很可能您最终从项目中删除了JDK源.要解决此问题,请转到项目设置">平台设置">"SDK">源路径",导航到您的JDK安装并将其src.zip添加到项目中.

Most probably you ended up with JDK sources removed from your project. To resolve the issue go to Project Settings > Platform Settings > SDK > Sourcepath, navigate to your JDK installation and add its src.zip to the project.

使用以下图像作为参考.

Use the following image as a reference.

这篇关于Intellij IDEA在小窗口中未显示完整的Javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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