简体   繁体   中英

How to Change Default Text Editor Annotation Preferences in Eclipse?

So my Eclipse always uses a very weird text annotation (ie 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?

Thanks!

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM