[英]Eclipse highlight occurrences, right column marker color
Similar, but different to this question : 类似但不同于这个问题 :
I use highlight occurrences a lot, but sometimes I'm irritated by how hard it is to see the little grey-ish rectangles on the rightmost side of the editor - to the right of the scrollbar. 我经常使用高亮显示,但有时候我很难看到编辑器最右边的小灰色矩形 - 滚动条右侧有多难。
Is there any way to change the color of these markers - looking in General -> Editors -> Text Editors -> Annotations
gives me control over the colors of annotations, but it doesn't seem to work for find occurrences. 有没有办法改变这些标记的颜色 - 查看General -> Editors -> Text Editors -> Annotations
让我可以控制注释的颜色,但它似乎不适用于查找事件。 Also, I can right click on the markers and it sends me to the same dialog, but the color still seems to do nothing. 此外,我可以右键单击标记,它会将我发送到同一个对话框,但颜色似乎仍然无效。
Any ideas? 有任何想法吗?
I'm using the Java editor. 我正在使用Java编辑器。
It used to take a restart(!) for the color modification to change for certain editors! 过去需要重启(!)才能对某些编辑器进行颜色修改! (as in 2006 ), due to a bug in Platform UI. (如2006年 ),由于Platform UI中的错误。
But for current edition (3.4.x, 3.5.1), the General->Editors->Text Editors->Annotations
preference page (the Occurrences
item) should be enough to change on the spot any color settings you want. 但是对于当前版本(3.4.x,3.5.1), General->Editors->Text Editors->Annotations
首选项页面( Occurrences
项目)应该足以在现场更改您想要的任何颜色设置。
After that, it depends on the nature of the editor (PDT editors used to miss that feature, until bug 166178 was fixed) 之后,它取决于编辑器的性质(PDT编辑器曾经错过该功能,直到错误166178被修复)
In Kepler 4.3 we can change the colour of occurrence as follow: 在开普勒4.3中,我们可以改变发生的颜色如下:
General -> Editors -> Text Editors -> Annotations -> Occurrences
A new feature of Juno (Eclipse 4.2) may also help here: Juno的一个新功能(Eclipse 4.2)也可以在这里提供帮助:
Also see the what's new entry about this. 另请参阅有关此内容的新内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.