Possible Duplicate:
Which IDE for Scala 2.8?
I'm learning Scala by reading 'Programming in Scala' book by Odersky et al.
What programming environment people use for scala?
I've used TextMate and emacs, and trying to use eclipse for Java.
Possible Duplicate:
Which IDE for Scala 2.8?
I'm learning Scala by reading 'Programming in Scala' book by Odersky et al.
What programming environment people use for scala?
I've used TextMate and emacs, and trying to use eclipse for Java.
There are several options, with varying degrees of maturity:
Other tools that are not IDEs but will help have on your routine (specially if you are not addicted to IDEs):
I like IDEA better then Eclipse, although the Eclipse has evolved well. I chose it because it worked better on refactors and has good support for Maven. Eclipse also support maven, but I felt IDEA's implementation better.
Now these tools are in constant improvement, and all of the have their strengths and weaknesses. Stability has improved a lot, and I felt productive in both Eclipse and IDEA. But my understanding is that the tooling is not at the same level the Java versions.
If your question applies during the time you are going through the book and in general when testing code snippets, a combination of any text editor, sbt and the REPL works well for me.
sbt has a "scratch" mode where it will compile scala you have in the current directory and import jar files automatically. The setup is to download sbt, create the sbt script/bat file, create the scratch project and change the scala version in project/build.properties
.
You can then drop into the console and have your jars files in the classpath. You can also use the run
command and it will prompt you for which class to run (if you have multiple ones in the current directory).