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

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

问题描述

我正在使用 Eclipse Color Theme 插件,效果很好.我只有一个问题.有时,当 Eclipse 突出显示代码片段时,它看起来并不可读.例如,当 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:

产品"这个名称在突出显示中几乎不可见.有什么方法可以调整 Eclipse Color Theme 中的高亮颜色设置?

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

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

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

推荐答案

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


在代码的右侧,您会看到搜索结果的颜色标记(红色箭头).
如果您右键单击此标记,则会显示首选项"条目.




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天全站免登陆