IntelliJ IDEA Scala plugin not finding errors

I just tried IntelliJ IDEA 12 with a Scala plugin, but it doesn't find or highlight errors in my code. I can, for example, write arbitrary code in a method and it looks like everything is fine. IDEA not able to do it? Or do I need to customize something special?

+3


source to share


1 answer


The IDEA Scala plugin is not equivalent to a compiler when checking your source code, but it works very well. The only thing you will want to do (if your hardware is probably not quite current and high performing) turn on Type Highlighting.

If you look in the lower right corner of the IDEA window (when you are editing a project with Scala enabled), you will see one of two icons, both of which are square - a copied bit of text. This text is either blank on a yellow background, or a letter T

on a green background. Clicking on it toggles between these two states. When green is displayed T

, Type-Aware backlight is on.



Try it.

+14


source







All Articles