从Eclipse颜色主题更改主题中突出显示的颜色 [英] Changing highlighting color in a theme from Eclipse color theme

查看:127
本文介绍了从Eclipse颜色主题更改主题中突出显示的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Eclipse Color Theme插件,它的效果很好。我只有一个问题有时,当Eclipse突出显示代码片段时,它看起来似乎不可读。例如,当Eclipse突出显示搜索结果时,如下所示:





名称产品在高亮显示中几乎不可见。有没有办法调整Eclipse Color Theme中的高亮颜色设置?



PS。我使用安装插件后获得的默认主题。我没有下载任何自定义主题。

解决方案

您可以直接在Eclipse中调整高亮颜色。




在代码的右侧,您会看到搜索结果的颜色标记(红色箭头)。

如果您右键单击此标记,条目首选项显示。








这将带您进入首选项对话框:常规>编辑器>文本编辑器>注释




如果您调整发生和搜索结果的颜色,则应该为您做点窍门。


I'm using Eclipse Color Theme plugin and it works great. I have only one issue. Sometimes when Eclipse highlights fragments of code it just doesn't seem readable. For example when Eclipse highlights search results it looks like this:

The name "Product" is hardly visible in the highlight. Is there any way to tune highlight color settings in Eclipse Color Theme?

PS. I'm using default themes that I got after installing the plugin. I didn't download any custom themes.

解决方案

You can adjust the highlight colors directly in Eclipse.


On the right side of your code you see the color mark for the search results (red arrow).
If you right-click on this mark the entry "Preferences" shows up.




This will take you to the Preferences Dialog: General > Editors > Text Editors > Annotations

If you adjust the colors for Occurences and Search Results this should do the trick for you.

这篇关于从Eclipse颜色主题更改主题中突出显示的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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