Reputation: 105177
What is the reason that Intellij (or is that sbt?) creates not a single scala source directory, but multiple?
Upvotes: 1
Views: 216
Reputation: 170815
SBT doesn't create the directories, but it recognizes them: code in scala
will be compiled for all Scala versions, scala-2.10
and scala-2.11
are for version-dependent code. So when you import SBT project (or create a new one) and have "Create directories for empty content roots automatically" option checked, it makes sense for IDEA to create them (I don't know if it always does).
Upvotes: 1