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

梦想的初衷 提交于 2020-01-01 07:36:07

问题


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

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?


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/55433978/pet-slept-on-keyboard-weird-colors-in-ide

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!