I think this is something that is released lately in Eclipse 2021. These error hovers/code minings are really annoying. Sometimes, they overlap the code also, and the code moves a lot.
Does anybody know how to disable this in Eclipse?
Advertisement
Answer
This is referred to as “code mining”. I came to the same conclusion as you. They were intriguing at first, but they became more of an annoyance over time.
If you search for “mining” in Eclipse Preferences, you’ll see the two places where code mining can be controlled, but I believe just unchecking “Enable code minings …” in “Java->Editor->CodeMinings” will do it.