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:
This is how it looks in the moment:
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 :)
请先登录再写评论。
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.
got It thank you I did not now that it was deactivated