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.
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
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
来源:https://stackoverflow.com/questions/26044510/how-to-change-color-of-editor-in-eclipse