Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does this Color marker happen in eclipse IDE ,and what should I do to clear the Color marker

Tags:

eclipse

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

like image 640
user9443945 Avatar asked Jan 02 '23 13:01

user9443945


2 Answers

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.

like image 140
howlger Avatar answered Jan 06 '23 15:01

howlger


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

like image 40
Atul Avatar answered Jan 06 '23 14:01

Atul