Search code examples
javaintellij-ideacompiler-errors

How to view the list of compile errors in IntelliJ?


I am looking for a way to view all compile errors in IntelliJ, similar to how they are displayed in Eclipse. I tried searching here and Google but have not really found a solution. I really like IntelliJ, I recently converted to it from Eclipse, and I hope this is just something I am missing and not a fundamental deficiency.


Solution

  • I think this comes closest to what you wish:

    (From IntelliJ IDEA Q&A for Eclipse Users):

    enter image description here

    The above can be combined with a recently introduced option in Compiler settings to get a view very similar to that of Eclipse.

    Things to do:

    1. Switch to 'Problems' view in the Project pane:

      enter image description here

    2. Enable the setting to compile the project automatically :

      enter image description here

    3. Finally, look at the Problems view:

      enter image description here

    Here is a comparison of what the same project (with a compilation error) looks like in Intellij IDEA 13.xx and Eclipse Kepler:

    enter image description here

    enter image description here

    Relevant Links: The maven project shown above : https://github.com/ajorpheus/CompileTimeErrors
    FAQ For 'Eclipse Mode' / 'Automatically Compile' a project : http://devnet.jetbrains.com/docs/DOC-1122