Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view JDK external documentation in IntelliJ IDEA?

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

like image 236
JatSing Avatar asked Dec 21 '11 09:12

JatSing


People also ask

How do I view documents in IntelliJ?

Use View | Quick Documentation or the corresponding keyboard shortcut (by default: Ctrl + Q on Windows/Linux and Ctrl + J on macOS or F1 in the recent IDE versions). See the documentation for more information. +1, could not find Preferences in IntelliJ Idea CE for Android. It is CTRL+J on Mac.

Where is my JDK in IntelliJ?

From the main menu, select File | Project Structure | Project Settings | Project. If the necessary JDK is already defined in IntelliJ IDEA, select it from the SDK list.


1 Answers

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

like image 176
CrazyCoder Avatar answered Sep 30 '22 17:09

CrazyCoder