How to view JDK external documentation in IntelliJ IDEA?

JatSing picture JatSing · Dec 21, 2011 · Viewed 29.7k times · Source

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

Answer

CrazyCoder picture CrazyCoder · Dec 21, 2011

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 : enter image description here