Pritam Banerjee Pritam Banerjee - 3 months ago 17
Scala Question

What are the differences in SBT Project and Scala Module in IntelliJ?

Started learning Scala recently. I know the differences between

build.sbt
and
build.scala
. But what are the differences in between these two project types in IntelliJ?

Answer

Scala Module in IDEA doesn't have anything to do with SBT's Build.scala. It's just an IDEA module which contains Scala (and may or may not use SBT). If you and any other developers only ever want to work with the project from IDEA (and are sure that you'll never change your mind), using a non-SBT Scala module may be good enough; I personally prefer SBT even for this case (it's nicer to keep in version control than IDEA's module files, dependency management is simpler, there are a lot of useful SBT plugins, etc.)