Home > database >  IntelliJ - How to see the full javadoc of an element (annotation, method, class .. etc) that belongs
IntelliJ - How to see the full javadoc of an element (annotation, method, class .. etc) that belongs

Time:05-29

IntelliJ only shows a very brief description and not the full javadoc of elements included in maven dependencies, how can I see the full javadoc?

CodePudding user response:

You need to force IntelliJ to download the documentation associated with the maven dependencies as this is not enabled by default. To do so, follow the next steps:

  1. Open the maven toolbar
  2. Open the settings in the toolbar enter image description here
  3. Maven Settings -> maven -> Importing
  4. Check the Documentation checkbox enter image description here
  5. Click OK

If you have already opened/created a maven project before doing this, then do the above to solve this issue for the next projects. For the current project:

  1. Right click on the project in the Project Explorer
  2. Maven -> Download Documentation enter image description here
  • Related