I am currently using IntelliJ 13 and I am working on a multi Maven module Java project. Unfortunatelly IntelliJ does not show me all compile errors in Java classes before I explicitly open the according classes containing those compile errors. As soon as I open an erroneous file, the Problems view lists this file (which it did not before opening it!) and the file changes its color in the Projects view.
But honestly I would like my IDE to advise me about errors in my code. I don't want to have to search my erroneous class files.
I have the following questions:
- Is there a possibility to configure IntelliJ to determine directly after changing anything in one Java class if that change has any impact on other classes in my Java project?
- What do I have to do to automatically remove invalid (not unused) import statements in Java classes? The action "optimize imports" just removes unused imports, but invalid imports are not removed.
I have already tried to run "make" (Ctrl + F9), but that just reveals a part of the compile errors. The Problems view does not list all files that contain errors.
I also found out about the possibility in the Compiler settings to "Make project automatically", but that also did not help.
What else can I do? Thank you very much for your help in advance.