Skip to content
Advertisement

How to disable the Error Hovers/Code Mining in Eclipse

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.

enter image description here

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.

Disable Code Mining in Eclipse

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement