Eclipse automatically turned on Git highlighting. How to turn it off? [duplicate]

If I change the code the color will disappear, I do not know how does this happen.and when do we will use this features.

enter image description here


It looks like you accidentally pressed the Coverage button instead of the Run or Debug button next to it.

To remove the red background color do the following: in the Coverage view click the Remove Active Session or Remove All Sessions button.

For information on what this Coverage does and what it is used for, see the EclEmma web site.


This is activated because of code coverage. If you want to remove it then follow these steps.

  1. Go to "Windows -> Show View -> Coverage" Select it. Click on "Open".
  2. Open the "Coverage" view.
  3. There are "X" and "XX" signs at upper right side.
  4. Click on one of them as per your requirement to remove the coverage session.

Refer the screenshot for more details.

enter image description here