You can reverse these theme color changes in one of two ways:
- Short Instructions: Navigate to
Window -> Preferences. In the popup that is displayed, expand the menu for the language you're interested in (in this example, it will be Java). Navigate to
Java -> Editor -> Syntax Coloring. Click the
Restore Defaults button. Click the
- Click on the Window button on the toolbar.
- Select the Preferences option from the subsequent drop-down menu.
- In the window that is displayed next, click on the arrow to the left of Java (or whatever language you are interested in changing the settings for).
- Click on the arrow to the left of the subsequent Editor option.
- Click on the subsequent Syntax Coloring option.
- At the bottom right of the window, click the Restore Defaults button.
- Next to it, click the Apply button.
- The default coloration for this language should now be restored. If it's not, you can try the second method.
Your preferences are stored in a directory in the workspace. Its relative path is
.metadata/.plugins/org.eclipse.core.runtime/.settings. If you delete everything in this directory and restart Eclipse, all settings will be reverted to their default values. (Note: all settings, not just necessarily the ones you're interested in.) Alternatively, you can try deleting specific
.prefs files in an attempt to isolate the specific preferences to reset (for example,
org.eclipse.ui.ide.prefs seem promising, but I haven't tested this).
Alternatively, since these preferences are workspace-specific, you can simply create a new workspace and move your existing projects to it.