开发者

How to restore default color theme in Eclipse Helios?

开发者 https://www.devze.com 2023-03-04 17:34 出处:网络
I read this question and played with a color theme with dark background. It looks cool in Java editor but not for other editors. Then I tried to use the default color themes by clicking \"Res开发者_如

I read this question and played with a color theme with dark background. It looks cool in Java editor but not for other editors. Then I tried to use the default color themes by clicking "Res开发者_如何转开发tore Defaults" buttons for ALL editors in Preference dialog and refering to this question. But in the file compare view the background is still black and the differences between compared files are hardly to discern.

Any way I can restore the backgound color in file compare view?


just remove a few lines which are about color in:

{workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs

then restart your eclipse, that's it.


Kane's solution works. And user can also just delete

"...\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings". 

Then restart Eclipse, do a little bit configuration, you are back to default theme.


I think the answer is here in the question mentioned by you. The theme plug-in modified below files under your workspace. You could switch to a new workspace, or remove the preference keys about color/font from those files.

Essentially there are two files we want to copy or overwrite:

[workspace].metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.jdt.ui.prefs [workspace].metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.ui.editors.prefs


To restore theme to default, remove only

[workspace].metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.e4.ui.css.swt.theme.prefs

By doing this you will not loose other configurations that you have done,

Like Python interpreter settings.

0

精彩评论

暂无评论...
验证码 换一张
取 消