Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pet slept on keyboard, weird colors in IDE [duplicate]

Tags:

java

eclipse

ide

Please stop laughing. My cat slept on my keyboard. When I came back I wonder what these colors are:

enter image description here

I like to get rid of them but I don't know how to remove them.

  1. Close and reopen of the file does not work.
  2. Close and reopen of the project does not work.

Any idea?

like image 333
Grim Avatar asked Mar 30 '19 17:03

Grim


2 Answers

Upvote for the cutest question ever.

Regarding the colors: Reminds me of visualization of test coverage with EclEmma, which shows its results with coloured markers for fully (green), partly (yellow) or not (red) covered source code.

You can get rid of the coloured markers by deleting the coverage results by clicking the single or double grey "x" in the coverage view like shown at the bottom of the following screenshot.

enter image description here

like image 190
mle Avatar answered Sep 20 '22 15:09

mle


I'll put this here for reference purposes from the Eclipse code coverage FAQs.

How can I remove the coverage coloring from the Java editors again?
If you remove the coverage session, also the coverage coloring will disappear. For this, hit Remove Session or Remove All Sessions in the Coverage view's toolbar.

From Using the coverage view

The Coverage view automatically appears when a new coverage session is added or can manually opened from the Window → Show View menu in the Java category. It shows coverage summaries for the active session.

enter image description here

like image 39
LppEdd Avatar answered Sep 19 '22 15:09

LppEdd