First some context: My aim is to use scala alongside a testing environment, preferably in an ide. At first I installed scala (v. 2.10.1) and sbt and it worked. I used emacs and a shell. Then I wanted to use eclipse and installed the sbt plugin. But when I tried the FlatSpec example of the scalatest website together with the scalatest lib, it did compile but 0/0 tests did run. In intellij I tried the same example but although I gave my sdk location, the collection package wasn't found.
My problem: I don't understand what I have to tell my ide or what I have to write (maybe files for maven or make etc.) or where I can learn all that.
My question: What has the ide to know if I want to run a scala project? - location of sdk, jdk, sbt, my_project, ... - versions of scala, java etc.
What else must it know?