Show all compilation errors automatically in the project when code is changed

In Eclipse, when I make any code changes it automatically shows all compilation errors in the workspace in a console. Is there something similar in IntelliJ? It seems in IntelliJ I have to make/build the project in order to see any compilation errors. Is there a window/tab to show all compilation errors automatically as you make changes to the code?


4 comments

Hello,

You can achieve that by enabling auto-make (project settings | compiler | make project automatically). There is corresponding 'Problems' tool window then:
problems.png
Denis

0

I tried the setting but it doesn't seem to work. I tested it by removing a parameter from a method, and expected to see an error for the caller of the method but I didn't see anything in the problem console. Is the error supposed to show up automatically?

0

Yes, errors appear there automatically but with a delay, e.g. when you make an error, it's highlighted by red at the editor and only after couple of seconds appears at the problems view.

Denis

0

Thanks! Yeah the delay for me took awhile but eventually it showed up.

0

Please sign in to leave a comment.