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?
请先登录再写评论。
Hello,

You can achieve that by enabling auto-make (project settings | compiler | make project automatically). There is corresponding 'Problems' tool window then:
Denis
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?
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
Thanks! Yeah the delay for me took awhile but eventually it showed up.
Hi ,
When I am trying to compiling any erlang program in intellij ide, I am getting the following error,
6> c(hw).
{error,non_existing}
Can anyone help me on this?
Hello,
Don't you need to enter "src" folder? I guess it simply couldn't find file under project root. By the way, does it work from terminal outside IDE?
Thank you Bedrov, I entered into the src folder and now the code is compiling and executing.
Thanks for your quick response it helps a lot for the beginner.
You are welcome!