I know that I am missing something, but I can’t understand that. When I create a scala project following the instructions of scala-plugin, no syntax error is detected. For instance:
object MyApp {
val aNumber: Int = "hello"
}
does not detect errors. If I right-clicked and asked to compile it, then I get the expected type mismatch error from the scala compiler. This is just a dumb example, no syntax errors are flagged. For normal Java projects, it works great, so it should be scala specific.
I have a clean install of IDEA 10 CE on OSX 10.6 and scala 2.8.1. I created jdk in the project settings, as well as scala home when creating the project. I have the latest version of the plugin (12/2010).
Any hint that I'm missing?
source
share