IntelliJ IDEA 11.1.2 Grails Project + Java Syntax error highlighting

Hi again,

is it possible to have Syntax error highlighting for Java and Groovy in IntelliJ ?

This is what I want to have:
error.jpg



This is how it looks in the moment:
screenshot.317.jpg
gives me a runtime exception
:( and no
error marker or something like this






PS: If this is also available for Javascript and Groovy would be nice too :)

2 comments
Comment actions Permalink

In Java code, such errors are always highlighted, and the same kind of quickfixes is available. In Groovy, it's by default highlighted as a warning (which your screenshot also shows). You can configure this to be highlighted as an error: Settings | Inspections | Groovy | Assignment Issues | Incompatible type assignments.

0
Comment actions Permalink

got It thank you I did not now that it was deactivated

0

Please sign in to leave a comment.