Attaching additional javadoc in Intellij IDEA

前端 未结 4 1956
误落风尘
误落风尘 2020-12-04 11:07

When I use quick documentaion lookup (Ctrl+Q) on j2ee classes or annotations in IDEA I only get an empty javadoc. It only contains the basics like class name.

How do

4条回答
  •  孤街浪徒
    2020-12-04 11:43

    If using maven:

    "right click on your pom.xml" -> "Maven" -> then choose "Download Sources and Documentation"

    To avoid this in the future: "Preferences" -> "Build, Execution, Deployment" -> "Build Tools" -> "Maven" -> "Importing" -> Check the Automatically download Sources and Documentation boxes.

    Credit to Yacov Schondorf and Stephen Boesch from Intellij user forums.

提交回复
热议问题