[英]Intellij: Javadoc I can't see description of the methods, class in java documentation after ctrl+b
I can't see description of the methods, class in java documentation after clicking ctrl+b in Intellij.在 Intellij 中单击 ctrl+b 后,我看不到方法的描述,java 文档中的 class。 How can I turn it on or should i update my doc?我怎样才能打开它或者我应该更新我的文档?
Screenshots:截图:
I would like to have something like this我想要这样的东西
Thank you in advance!先感谢您!
You need to open the File | Project Structure | SDKs
您需要打开File | Project Structure | SDKs
File | Project Structure | SDKs
File | Project Structure | SDKs
, go to the Sourcepath
, and attach this JDK's source code file (often named src.zip). File | Project Structure | SDKs
, go 到Sourcepath
,并附上这个 JDK 的源代码文件(通常命名为 src.zip)。 See the detailed steps/images here: https://mkyong.com/java/how-to-attach-jdk-source-code-to-intellij-idea/在此处查看详细步骤/图像: https://mkyong.com/java/how-to-attach-jdk-source-code-to-intellij-idea/
The source code file (src.zip) often comes from $JAVA_HOME/lib/src.zip
and $JAVA_HOME/src.zip
from your downloaded JDK 1 .源代码文件 (src.zip) 通常来自您下载的 JDK 1中的$JAVA_HOME/lib/src.zip
和$JAVA_HOME/src.zip
。
Another easier way is to go to File | Project Structure | SDKs
另一种更简单的方法是 go 到File | Project Structure | SDKs
File | Project Structure | SDKs
File | Project Structure | SDKs
, click the +
icon to download one JDK which would configure the sourcepath by default. File | Project Structure | SDKs
,点击+
图标下载一个JDK,默认会配置sourcepath。
The Documentation paths mentioned by @Müseyib Ələkbər is for Quick Documentation popup. @MüseyibƏləkbər 提到的文档路径用于快速文档弹出窗口。 See https://www.jetbrains.com/help/idea/sdk.html#configure-external-documentation参见https://www.jetbrains.com/help/idea/sdk.html#configure-external-documentation
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.