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

后端 未结 2 1914
独厮守ぢ
独厮守ぢ 2020-12-04 03:41

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.

相关标签:
2条回答
  • 2020-12-04 04:34

    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.

    0 讨论(0)
  • 2020-12-04 04:36

    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.

    0 讨论(0)
提交回复
热议问题