在 Linux 上的首选项中更改快速修复中 Eclipse 链接或 Eclipse 链接的颜色 [英] Changing color of Eclipse links in quick fix or Eclipse links in preferences on Linux

查看:29
本文介绍了在 Linux 上的首选项中更改快速修复中 Eclipse 链接或 Eclipse 链接的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用深色主题,则在 Eclipse-快速修复"或 IE 中的链接->首选项->常规->编辑器(三个'参见...文件关联"|内容类型"|外观"'-链接) 不可读.

if i use a dark theme then links in Eclipse-"quick fix" or in i.e. Eclipse->Preferences->General->Editor (the three 'see... "File Associaton"|"Content Types"|"Appearance"'-links) are unreadable.

这张图片上,我所说的链接是青色的灰色:

On this image the links i am talking about are cyan on grey:

我找到了适用于 Windows/XP 的解决方案:

I found a solution for Windows/XP:

悬停使用与系统上相同的颜色.在 Windows 上你可以通过显示设置 > 外观 > 高级:工具提示来更改它.链接颜色是您的浏览器(Windows 上的 IE)中使用的颜色.

The hover uses the same colors as the on your system. On Windows you can change that via Display settings > Appearance > Advanced: ToolTip. The link color is the one used in your browser (IE on Windows).

但是,我需要一个适用于 Linux (XFCE 4.8.1/GTK) 的解决方案

However, i need a solution for Linux (XFCE 4.8.1/GTK)

我检查/测试了 Eclipse 的所有设置,但没有发现此链接颜色的设置.这似乎是一个系统设置 (GTK),所以我已经尝试将其添加到 gtkrc:

I checked/tested all settings of Eclipse and i found no setting for this link-color. It seems to be a system-setting (GTK), so i already tried to add this to gtkrc:

style "default" {
        GtkWidget::link-color = "#ffffff"
}

class "GtkWidget" style "default" 

但这并没有改变 Eclipse 中的链接颜色.

but this did not change the link color in Eclipse.

我希望你能帮忙 - 谢谢!

I hope you can help - thanks!

推荐答案

GNOME

http://devblog.virtage.com/2013/06/eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks/

使用颜色菜单(图片中的第一个条目):

Use the colors menu (the first entry in the picture):

并重新定义工具提示背景颜色:

And redefine the tooltip background color:

然后享受可读的弹出窗口:

Then enjoy the readable popups:

这篇关于在 Linux 上的首选项中更改快速修复中 Eclipse 链接或 Eclipse 链接的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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