How to force IntelliJ IDEA to reload dependencies from build.sbt after they changed?

intellij-idea, sbt, scala

Solution

You can force SBT to reload changes: Open SBT toolwindow (on the right side of IDE) and press refresh button.

If you use auto-import feature you need to save your file to force auto-refresh.

Problem

I'm using IntelliJ IDEA 13 (Community Edition) with the Scala plugin. My initial import of an existing Scala project with a `build.sbt` worked fine. The library dependencies were picked up by IDEA. Additional dependencies added after the initial import were not picked up, although I had checked the `auto-import` option. How can I force IDEA to reload the dependencies from `build.sbt`?

Original source

Related problems