32

I seem to have to maunally click "Download Sources and Documentation" after each clean install, is there a way to get this to happen by default?

robmcm
  • 423

2 Answers2

38

It is also a setting on the Import Project/Module screen, or available via settings under Maven > Importing: Automatically download sources/documentation

If you want to change this setting across all projects change the above option in File > Other Settings > Default Settings

Chro
  • 105
vanjan
  • 496
3

Intellij is ultimately using maven to download sources and documentation. So you need to configure maven.

Please see: https://stackoverflow.com/questions/5780758/maven-always-download-sources-and-javadocs

So your sources and javadocs will be automatically downloaded whenever you do clean install.