IntelliJ 14 - Create / Import a Scala / SBT project

Pablo R. Mier picture Pablo R. Mier · Nov 5, 2014 · Viewed 33.7k times · Source

IntelliJ 14 supports (in theory) SBT / Scala projects through the Scala plugin, which is still available in the official repo. According to this post "Scala plugin project itself now uses SBT for build and dependency management". However I cannot find any way to create or import a SBT / Scala project with IntelliJ. There is also a lack of documentation explaining more about this new way of configuring the Scala Plugin.

I have the Scala plugin activated in the IntelliJ Ultimate 14.0 (139.224). Any ideas?

Answer

Eugene Zhulenev picture Eugene Zhulenev · Nov 5, 2014
  1. Install scala plugin. Settings -> Plugins -> Scala -> Install
  2. Open directory with sbt build: File -> Open Project -> select directory with build.sbt -> configure settings

That worked for me just a couple of minutes ago. It may be necessary to reset cache and restart: File -> Invalidate Caches / Restart.