I'm wondering if it is possible to configure IntelliJ Idea to immediately show compile errors on the class files in the project tree. Currently I need to manually trigger the recompilation to see error marks on my classes if the class cannot be compiled.
Java – How to immediately see compile errors in project tree of IntelliJ Idea
appearanceintellij-ideajava
Related Topic
- Java – ‘Must Override a Superclass Method’ Errors after importing a project into Eclipse
- Java – IntelliJ inspection gives “Cannot resolve symbol” but still compiles code
- Intellij-idea – How to automatically navigate to current class in IntelliJ IDEA Project Tool Window
- Java – Import Maven dependencies in IntelliJ IDEA
- Java – Intellij IDEA Java classes not auto compiling on save
- Java – Getting Gradle dependencies in IntelliJ IDEA using Gradle build
Best Answer
As of IntelliJ 12 there's an option to automatically build your project upon source changes. In "Settings" --> Build, Execution, Deployment --> "Compiler" check the checkbox "Build project automatically". This will immediately show any compile errors in the project tree.