title: Scala plugin for IntelliJ IDEA 10 not detecting simple errors?
body: <p>I know I must be missing something, but can't figure out what. When I create a scala project, following the scala-plugin instructions, not a single syntax error is detected. For example:</p>
  
  <pre><code>object MyApp {
    val aNumber: Int = "hello"
  }
  </code></pre>
  
  <p>does not detect any error. If I right-click and ask it to compile, then I get the expected type mismatch error from the scala compiler. This is just a silly example, <em>no</em> syntax errors are being flagged. For regular Java projects it works fine, so it must be scala specific.</p>
  
  <p>I have a clean install of IDEA 10 CE on a OSX 10.6 and Scala 2.8.1 final. I have set up the jdk in the project settings as well as the scala home when creating the project. I have the latest version of the plugin (12/2010).</p>
  
  <p>Any hint on what I'm missing?</p>