如何在 Eclipse 中使用扩展器更改列的背景颜色?
最近,在 Eclipse 中花哨的白色背景烧焦了我的视网膜后,我发现了一些关于如何更改颜色以便在编辑器中使用正常(即深色背景)颜色的优秀帖子。然而,所有解决方案中存在的一个问题是带有用于代码折叠的扩展器的列的背景总是白色的。有没有办法改变该栏的背景?
我不是唯一遇到此问题的人,如以下问题的屏幕截图所示:
- 深色Eclipse 的方案
- Eclipse 的颜色主题(应用配色方案会导致此问题在 Mac 上,不知道在 PC 上)
我知道问题不是特定于语言的,因为它发生在 Java、Python、HTML 和其他所有语言中。有关此设置在首选项页面中的位置的任何提示吗?
Recently after scorching my retinas from the garish white background in Eclipse, I found some of the excellent posts about how to change the colors so it uses sane (i.e. dark background) colors in the editor. However, one problem present in all solutions is that background of the column with the expanders for code folding is always white. Is there a way to change the background of that column?
I'm not the only person that has this problem, as shown in the screenshots for the following questions:
- Dark Color Scheme for Eclipse
- Color Themes for Eclipse (application of color schemes results in this issue on a Mac, no idea about PC)
I know that the problem is not language specific as it happens in Java, Python, HTML, and everything else. Any hints on where in the pages of preferences this setting is?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这与 Eclipse Bug 62712 相关,该错误已在构建 20090329 中修复 - 2000年,差不多一年前了。在我的 Galileo 版本 20090920-1017 中,当我通过 General > 更改背景颜色时,它才起作用。编辑>文本编辑器。这是一个屏幕(不要注意丑陋的颜色组合,我的背景默认为白色,我只是选择了随机黄色来演示标尺背景也发生了变化):
换句话说,只需升级 Eclipse 即可包含此错误修复。您检查过帮助>吗?检查更新?
This is related to Eclipse Bug 62712 which is fixed in build 20090329-2000 almost a year ago. In my Galileo of build 20090920-1017 it just works when I change the background color through General > Editors > Text Editors. Here's a screen (don't pay attention to the ugly color combo, my bg defaults to white and I just picked random yellow to demonstrate that the ruler background get changed as well):
In other words, just upgrade your Eclipse to include this bugfix. Did you check Help > Check for Updates?