So my Eclipse always uses a very weird text annotation (i.e. it highlights the errors instead of underlining them). I know how to change this.
Window > Preferences > General > Editors > Text Editors > Annotations
But I can't save my settings; every time I reopen eclipse to that work space, all my saved annotation settings are gone. So it's very annoying change them every time. Is there a way I can change the default annotation settings?
Best How To :
The problem seems to be specific to when you're using a custom theme like
Dark (does not happen with the
default theme). I am able to reproduce it with
Luna also, but it seems to be fixed in the
Mars version (4.5) which is due to release on Wednesday (June 24, 2015). You can try one of the recent release candidate builds if you can't wait until Wednesday.
This bugzilla may be related to the changes that fixed it. I also think the dark theme looks better in
Mars with expansion tabs looking cleaner in the package explorer.