IMO, you better not separate SBT and Intellij separately, as these are two different problems. One is for construction, and the other is for development.
Here are the steps that I usually go through to create a continuous Scala / Intellij development environment for a new Scala project.
- Step 1: Install Scala Intellij Plugin
- Step 2: Create a simple sbt project - details here
- Step 3: add the fantastic sbt-idea plugin to your sbt configuration
- Step 4:
sbt gen-idea - Step 5: Open the project in Intellij 12
- Enjoy debugging, syntax highlighting, code support, and all the other nice features of IJ.
On the sbt side, I usually keep the terminal open, with sbt running so that I can quickly test things out of the Intellij context.
NTN
source share