-->

How to change color of Editor in Eclipse

2019-01-26 17:32发布

问题:

I know the preferences are under Preferences>General>Appearance, I played with the color themes and colors of TextEditor, I ended up with some ugly color scheme on top of the default white background (See attached). I tried to reset back to defaults, but nothing seems to get me back to the original default look. Attached is the ugly colors I am stuck with.

回答1:

I think you installed Editbox plugin. Un-install this plug-in and manage colours with eclipse themes. Or try setting/preferences provided by Editbox plug-in itself. Refer this.

I think Editbox settings overrides the preferences in Preferences>General>Appearance.

You also can quickly enable/disable with such icon on Eclipse main toolbar.

Select more themes from EditBox, read at https://github.com/Nodeclipse/EditBox

or



回答2:

You can get pre-defined color schemes in http://eclipsecolorthemes.org/

Download one you like and get started.

To reset your window perspective, you may go to:

 Window Menu -> Reset Perspective