How to view JDK external documentation in IntelliJ IDEA?

前端 未结 7 898
南旧
南旧 2020-11-29 19:10

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

7条回答
  •  野性不改
    2020-11-29 19:32

    You can add the external Javadocs API link as shown below:

    • Go to File > Project Structure...
    • Then select SDKs (under Platform 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/)

提交回复
热议问题