How to view JDK external documentation in IntelliJ IDEA?
I'm using 10.5.4. It was unclear to me from the docs or from resources online that you need to add this at Project Structure > SDK's > (Choose your SDK) > Documentation Paths > Specify URL.
You can add the external Javadocs API link as shown below:
- Go to
File
>Project Structure...
- Then select
SDKs
(underPlatform Settings
) - Go to
Documentation Paths
tab - Select
Specify URL
button and add the link for JDK 11 API docs (https://docs.oracle.com/en/java/javase/11/docs/api/)
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 :
For IntelliJ Idea: Call "Project Structure" (Ctrl+Shift+Alt+S), go to "Platform Setting - SDKs", choose "Documentation Path" tab on the right, then add url of JavaDoc (http://docs.oracle.com/javase/7/docs/api/) to your project