It seems that Intellij does well when "Download sources" and "Download javadocs" are checked in the import settings.
But if they were not checked then how do we get the scala sources after the fact? In the screenshot below I did click on Download Sources
But it failed Sources for 'scala-library.jar' not found
.
Seems Intellij should realize to properly ornament the scala-library.jar
with the appropriate scala version from the project . no?
So is there any alternative to simply nuking the project and re-importing? The reason for the inquiry is I have a number of projects in this state and also would like the flexibility to not always have Download sources
checked - due to both longer build time and occasional build failures caused by it.
You can edit the sbt settings of an existing project:
After selecting 'Download: Sources' and closing the settings, you must refresh the sbt project to trigger the download:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With