Can intellij be set to automatically "Download Sources and Documentation"

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


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.