Eclipse:改变垂直条颜色 [英] Eclipse: change vertical bar color

查看:173
本文介绍了Eclipse:改变垂直条颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图在这里处理一个小问题:我想让我的日食尽可能地分心。到目前为止,我很满意,除了一件事,我无法弄清楚如何改变:

trying to deal with a minor issue here: I want to make my eclipse as distraction free as possible. So far I'm satisfied, except for one thing that I've not been able to figure out how to change:

白色的垂直条是...烦人。如何改变颜色?

the white vertical bars are ... annoying. How can I change their color?

请注意,左标尺不是代码折叠栏(位于行号右侧),而是所谓的垂直标尺,显示行注释(例如错误和内容),可以在首选项>常规>编辑器>文本编辑器>注释中找到。这个酒吧不能被禁用(我不想要,因为我觉得很有用),我只是想改变它的颜色,不知道什么是正确的统治者。

Please note that the left ruler is not the code folding bar (which is on the right side of the line numbers), but the so called "vertical ruler" which shows line annotations (eg errors and stuff), to be found in Preferences > General > Editors > Text Editors > Annotations. This bar can not be deactivated (which I don"t want because i find it useful), I just want its color changed. Don't know what the right ruler is though.

不是 eclipse上的垂直白线可以使Eclipse的代码折叠槽黑吗?

编辑:但确实是(a)部分重复的更改Eclipse中的总统颜色问题未解决:更改系统主题(我的地中海黑暗)没有更改条的颜色。

edit: but indeed a (partial) duplicate of Change overview ruler color in Eclipse. Problem not solved: changing the system theme (mine is mediterranean dark) did not change the color of the bar.

谢谢

推荐答案

发现自己,分享给想要自定义他们的酒吧颜色的其他人:

Found it myself, sharing it for others who want to customize their bar color:

#org-eclipse-e4-ui-compatibility-editor * { background-color: #002b36; }

将十六进制值更改为任何您喜欢的值。这个css片段必须以某种方式添加到eclipse(我使用eclipse Chrome主题 http://marketplace.eclipse.org/content/eclipse-4-chrome-theme#.UYrzEkAW1J0

change the hex value to anything you like. This css snippet has to be added to eclipse in some way (I did it with eclipse Chrome Theme http://marketplace.eclipse.org/content/eclipse-4-chrome-theme#.UYrzEkAW1J0)

FYI:我发现来自eclipse工具集的css spy的css id( http://marketplace.eclipse.org/content/eclipse-4-tools-css-spy#.UYrzSkAW1J0

FYI: I found the css id with the "css spy" from the eclipse tooling collection (http://marketplace.eclipse.org/content/eclipse-4-tools-css-spy#.UYrzSkAW1J0)

result:

这篇关于Eclipse:改变垂直条颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆