Reputation: 11741
I'm using IntelliJ 13.1.2 on OS-X Mavericks.
I added a new dependency to my build.sbt
inside an IntelliJ project. I synced my project as well as my build.sbt but I cannot import classes from this new library in my Scala classes.
However, when I do a sbt clean complile; sbt console
on a terminal (outside of IntelliJ) I can successfully import classes from this new library.
Can anyone help me resolve this ?
Thanks
Upvotes: 3
Views: 1617
Reputation: 4095
In preferences -> SBT (in Project Settings section) -> check the box next to 'Use auto-import' and that should keep IDEA synced with your build.sbt
Upvotes: 2