Using Eclipse Version: Luna Service Release 1 (4.4.1) - with the CDT bundle as the base - with most packages installed using pacman / yaourt under /usr , I canβt persistently preserve several appearance preferences. Although most of the settings that I set seem to be behind reboots; two work only during one eclipse: - General/Appearance/ColorTheme/SetAllBackgroundColorsToTheDefault - General/Editors/TextEditors/Annotations/*
Oddly enough, the first specified setting is displayed in the settings window as indicated as I chose; however, the eclipse seems to simply ignore it unless I enter and switch the setting, apply, switch and apply.
However, Annotarions settings work during installation; but when you restart, the settings window shows that they were changed from what I installed. It is as if the setting was never saved to disk.
I made sure that I have and have u+rw permissions for everything that is in ~/.eclipse . I also tested by moving .eclipse to .eclipse_back and working with a new user. I also tried the -initialize and -clean switches. Nothing seems to correct this oddity. Any guidance?
----- EDIT
I found that annotation and colorime preferences live under <workspace>/.metadata/ /.metadata/. I also checked write access to this tree. I also tried to change: warningTextStyle=DASHED_BOX in .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs manually when the eclipse instance is not running. Although this setting is stored in a file, eclipse seems to just ignore it. WT _?
----- EDIT 2
Manually editing usr/share/eclipse/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css/dark/e4-dark_preferencestyle.css also only partially useful. To be specific, changing 'AbstractTextEditor.Color.SelectionForeground.SystemDefault' from false to true really works as expected. Changing annotations like 'warningHighlightingTextStyle=DASHED_BOX' does not seem to make any difference.
source share