How to disable error checking for annotations in Intellij IDEA?

I have a developer supporter who uses Eclipse, which automatically inserts annotations at different positions in our JUnit tests. However, when I open the test in IDEA, the annotation is highlighted in red, and the annotation "@Override is not allowed when implementing the interface method." I am not interested in the annotation. Because of this, it will not allow me to build, and I need the check to be disabled in the IDE or project settings. I disabled each checkbox under Project Settings> Errors for all IDEs and project settings, and it still underlines the red color. I do not want to exclude each individual annotation separately on the Messages tab. Help! Thank!

+23
intellij-idea annotations error-handling
Oct 06 '09 at 2:30 p.m.
source share
1 answer

In Project Structure | Project , change the Project Language Level to 6.0 - @Override in the interfaces .

+45
Oct 06 '09 at 17:06
source share



All Articles