IntelliJ doesn't seem to pickup certain sbt libraries, no code completion

Posted by Blankman on Stack Overflow See other posts from Stack Overflow or by Blankman
Published on 2014-06-11T18:56:08Z Indexed on 2014/06/11 21:25 UTC
Read the original article Hit count: 253

I am using sbt console in my terminal to compile my scala/play project.

I am using intellij to edit my source code, basically using it just for getting some code completion and navigation etc.

For some reason certain libraries don't seem to load correctly. For example, I added elastic search to my Dependancies.scala file, reloaded sbt and everything compiles fine but for some reason IntelliJ doesn't pickup the jars correctly i.e. they are in red and there is no syntax completion.

How can I fix this? I tried shutting intellij down and restarting it but the problem remains.

I am using Intelli 13.1.3 (ultimate)

enter image description here

© Stack Overflow or respective owner

Related posts about scala

Related posts about intellij-idea