title: SBT not loading properly in Intellij-Idea (no SBT external Imports)
body: <p>The issue I have is with a particular scala project of mine when it comes to using the imports from my .sbt file. What I expect to happen is when I open up my project by selecting </p>
  
  <blockquote>
    <p>Open > New Project > Select my SBT</p>
  </blockquote>
  
  <p>is that my dependencies are loaded as per usual and everything outlines in my SBT file can be found in the project's External Libraries.</p>
  
  <p>When I do import the project I am prompted to update the SBT it indicates that its updating everything and pulling from the SBT sources, but in reality it does not actually reflect any imported items (which also leaves my build.sbt file to have red-underline items as these libraries have not been imported).</p>
  
  <p>A sample of the External Libraries:</p>
  
  <p><a href="https://i.stack.imgur.com/cgMqB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cgMqB.png" alt="external libraries"></a></p>
  
  <p>A sample from my build.sbt:</p>
  
  <p><a href="https://i.stack.imgur.com/UZW2T.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UZW2T.png" alt="build.sbt"></a></p>
  
  <p>I have uninstalled, re-installed both IntelliJ and all the plugins, removed my SBT items, added them in again, restarted, rinse repeat until infinity.</p>
  
  <p>I've also opened up the SBT tools window and refreshed SBT as well as removed everything from the list and added it in again with no success. </p>
  
  <p>With that, I have also deleted the generated .idea file and re-imported the project multiple times, using multiple different settings. (Removing the .idea file every time I tried something new).</p>
  
  <p>I have tested the exact same project on a colleague's machine with working results, so I am not sure if there's anything I have configured incorrectly. We compared but everything looks exactly the same.</p>
  
  <p>Cleaning, compiling and running the SBT in terminal works 100% - and this issue does NOT persist when I create a new Scala project. Theres also no error output which is REALLY frustrating.</p>
  
  <p>I've tested with the following:</p>
  
  <blockquote>
    <p>IntelliJ IDEA 2018.1.1 (Ultimate Edition)</p>
    
    <p>Build #IU-181.4445.20, built on April 2, 2018</p>
    
    <p>JRE: 1.8.0_152-release-1136-b27 x86_64</p>
    
    <p>JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o</p>
    
    <p>macOS 10.13.3</p>
    
    <p>Scala Plugin 2018.1.8</p>
    
    <p>scala v2.12.4</p>
    
    <p>SBT 1.1.1</p>
  </blockquote>
  
  <p>** EDIT
  To give more information, when I have a simple build.sbt file (aka I give it a scala version, a name and some library dependencies) it works completely fine.</p>
  
  <p>When I start adding in different aggregates under the root, it appears to stop recognising those modules.</p>
  
  <p>As an example, I have;</p>
  
  <pre><code>lazy val root = Project("scala-test", file("."))
    .aggregate(core)
  </code></pre>
  
  <p>If I check my SBT side panel I see everything listed: </p>
  
  <p><a href="https://i.stack.imgur.com/SZpZh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SZpZh.png" alt="enter image description here"></a></p>
  
  <p>Yet they are not in my project structure, meaning that it does not recognise any of the internal imports or import paths:</p>
  
  <p><a href="https://i.stack.imgur.com/Ynx9R.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Ynx9R.png" alt="enter image description here"></a></p>
  
  <p>It appears to be something that's wrong with the Scala plugin but I have not found a stable solution around this.</p>