Compile-time errors become displayed only after saving class

I’ve encountered with an issue related to indicating compile-time errors in code: I cannot see them until I explicitly save the class I’m working with.

Is it an expected behavior? What can be done to show such errors while typing an expression?