Force intellij to download scala-library sources in an existing project : <p>It seems that Intellij does well when "Download sources" and "Download javadocs" are checked in the import settings.</p>

<p>But if they were <em>not</em> checked then how do we get the scala sources after the fact?  In the screenshot below I did click on <code>Download Sources</code> </p>

<p><a href="https://i.stack.imgur.com/fkodT.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/fkodT.jpg" alt="enter image description here"></a></p>

<p>But it failed <code>Sources for 'scala-library.jar' not found</code>  . </p>

<p><a href="https://i.stack.imgur.com/PINcp.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/PINcp.jpg" alt="enter image description here"></a></p>

<p>Seems Intellij should realize to properly ornament the <code>scala-library.jar</code> with the appropriate scala version from the project . no?  </p>

<p>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 <em>not</em> always have <code>Download sources</code> checked - due to both longer build time and occasional build failures caused by it.</p>
