When using sbt console
I find myself repeatedly entering some import statements. It would be great if there was a way to tell sbt to always run commands. Is there
You can use initialCommands:
initialCommands in console := """import my.app._
import my.app.is.sooo.cool._"""
Given that "sbt console" lets you run the scala repl, why not just create a custom .scala file (say "default.scala") where to store all the imports, and then just run :load /path/to/default.scala
? This would achieve what you need in a persistent way.