如何在 IntelliJ IDEA 中查看 JDK 外部文档? [英] How to view JDK external documentation in IntelliJ IDEA?

查看:50
本文介绍了如何在 IntelliJ IDEA 中查看 JDK 外部文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此操作的快捷方式是 Shift+F1,但即使我已将 JDK documentation path 指向 docs 文件夹(从

The shortcut for this action is Shift+F1 but it is always grayed out even I have pointed JDK documentation path to the docs folder (the docs folder is unzipped from jdk-7u2-apidocs.zip ).
Thanks

解决方案

You need to specify the docs/api subdirectory of the unpacked documentation or use https://docs.oracle.com/javase/8/docs/api/ URL for the external documentation feature to work.

File -> Project Structure... then here :

这篇关于如何在 IntelliJ IDEA 中查看 JDK 外部文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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