Glide
Glide

Reputation: 21245

IntelliJ - 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. It seems like 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?

Upvotes: 17

Views: 12729

Answers (1)

maba
maba

Reputation: 48065

Nowadays you have the same option as in eclipse to have automatic builds when you save.

enter image description here


Edit

Any changes in the editor will now trigger a compilation either when Ctrl+s is pressed or after a short interval.

This first image will show a main method and a class with a simple print method. No compilation errors.

enter image description here

In the next image I have removed the parameter message in the print method. That's the only thing I did, I did not even save I just waited a couple of seconds. And then suddenly the compilation error is shown below because the caller of the method has now supplied too many arguments.

enter image description here

Upvotes: 17

Related Questions