Eclipse code error marks does not auto-refresh

I am working with Eclipse Photon 4.8.0 and I'm facing a weird behaviour when I'm working with Java files.

When I make a change in a file, usually Eclipse refresh the code reviewer automatically, marking errors and warnings on the fly in the code. This is not happening to me. The code marks appears or disappears only when I save the file.

I suppose there is some preference option to allow auto-refresh for this code checks, but I can't find it.

Upvotes: 0

Views: 471

Answers (2)

I think that actually it's not a fix for the problem, but I delete this Eclipse and downloaded Eclipse Oxygen. Now it works. I suppose it's a bug for the new Eclipse Photon.

Upvotes: 0

howlger
howlger

Reputation: 34155

In Window > Preferences: Java > Editor check the checkbox Report problems as you type.

Upvotes: 1

Related Questions