My query is that, is it possible to write and compile Scala code in netbeans6.9.1? I am a beginner to Scala programming, and am very much confused about this.
I posted this question here so as to get the reviews of fellow programmers.
My query is that, is it possible to write and compile Scala code in netbeans6.9.1? I am a beginner to Scala programming, and am very much confused about this.
I posted this question here so as to get the reviews of fellow programmers.
Yes, check out the Netbeans wiki; Scala modules are experimental and under active development, so check the nightly builds. Also check out ErlyBird; it's an Erlang/Scala IDE based on NetBeans.
I've never actually tried to write Scala in Netbeans personally but according to Dick Wall the support for Scala in Netbeans is pretty much the best of breed among the main 3 IDEs (IntelliJ, Eclipse, and Netbeans). I know that's just anecdotal but it's from a pretty trusted source who literally inserted a whole new section into his Java Posse podcast just so he can geek out over Scala.
This looks like a fantastic place to get you started. http://wiki.netbeans.org/Scala
I have successfully used Scala with Netbeans 6.8. I tried using 6.9, but could not get it to work. If you can manage with NB 6.8, then you are in luck.
Note that even with 6.8, refactoring is not available. However, code completion works very nicely and that is sufficient for me. I hope that there is a more usable Netbeans plugin for Scala in the near future.
Of course, you need to install the Scala plugin after installing NB 6.8 to get anything to work. Instructions here: http://wiki.netbeans.org/Scala68v1