[英]See Javadocs for basic classes in Intellij
Is there a way to see/attach the Javadocs and/or source code for basic classes (like String) in IntelliJ? 有没有办法在IntelliJ中查看/附加基本类(如String)的Javadoc和/或源代码?
I'm using IntelliJ Community Edition 11.1 我正在使用IntelliJ Community Edition 11.1
When you add new JSDK , sources are configured automatically: 添加新JSDK时 ,会自动配置源:
If your JDK installation is missing sources, you will need to download and configure them manually. 如果您的JDK安装缺少源,则需要手动下载和配置它们。 Mac users should refer to this answer .
Mac用户应该参考这个答案 。
When you have sources attached to the JSDK configuration, navigating to the class will open source code instead of decompiled stub and you can also use View
| 如果您有源JSDK配置,导航到该类将打开源代码而不是反编译的存根,您也可以使用
View
| Quick Documentation
based on the javadoc in the source files. 基于源文件中的javadoc的
Quick Documentation
。
Have a look at productivity tips: 看看生产力提示:
http://www.jetbrains.com/idea/documentation/tips/index.html http://www.jetbrains.com/idea/documentation/tips/index.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.