Eclipse Luna 深色主题,代码编辑器白色

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24487682/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 22:05:58  来源:igfitidea点击:

Eclipse Luna dark theme, code editor white

eclipsethemeseclipse-luna

提问by kozla13

I downloaded the new Eclipse Luna (ver. 4.4) and changed to Dark Theme, but the code editor is not changing. See the screen-shot:

我下载了新的 Eclipse Luna(4.4 版)并更改为 Dark Theme,但代码编辑器没有更改。请参阅屏幕截图:

enter image description here

在此处输入图片说明

I tried this on MAC, Windows and Linux, always the same result.

我在 MAC、Windows 和 Linux 上试过这个,结果总是一样。

采纳答案by Federico Piazza

You can download Eclipse Color Themeplugin as a workaround. It worked fine for me.

您可以下载Eclipse Color Theme插件作为解决方法。它对我来说很好。

After installing Eclipse Color Theme you have to go to: Preferences-> Appearance-> Color Theme, then chose the whatever theme you like, from the screenshot I chose Monokai

安装 Eclipse Color Theme 后,您必须转到:Preferences-> Appearance-> Color Theme,然后从我选择的屏幕截图中选择您喜欢的任何主题Monokai

enter image description here

在此处输入图片说明

回答by dan carter

Ok here's what worked for me. (on java 8 JRE on WinXP)

好的,这对我有用。(在 WinXP 上的 java 8 JRE 上)

Preferences -> General -> Editors -> Text Editors: Background colour

首选项 -> 常规 -> 编辑器 -> 文本编辑器:背景色

deselect 'system default' and choose pure black

取消选择“系统默认”并选择纯黑色

Now go to 'current line highlight' and make it your favourite shade of grey. RGB 60/60/60 works for me.

现在转到“当前行突出显示”并使其成为您最喜欢的灰色阴影。RGB 60/60/60 适合我。

回答by Stimpson Cat

You can download a dark color scheme for eclipse color schemeThat did help me when i switched to black.

您可以为 eclipse配色方案下载深色配色方案, 当我切换到黑色时,这对我有帮助。

回答by Daniel Sokolowski

Instead if finding a working night theme I discovered a utility that puts my entire desktop into night mode NegativeScreen.

相反,如果找到一个夜间工作主题,我发现了一个实用程序,可以将我的整个桌面置于夜间模式NegativeScreen

eclipse ide night mode

eclipse ide 夜间模式

I use the below adjusted 'Smart Inversion Alt 2' matrix where the black is lightened a little the best for my tastes.

我使用下面调整过的“Smart Inversion Alt 2”矩阵,其中黑色调亮了一点,最适合我的口味。

Smart Inversion Alt 2b (danielsokolowski)=
{  0.390, -0.620, -0.620,  0.000,  0.000 }
{ -1.210, -0.220, -1.220,  0.000,  0.000 }
{ -0.160, -0.160,  0.840,  0.000,  0.000 }
{  0.075,  0.075,  0.075,  1.000,  0.000 }
{  1,  1,  1,  0.000,  1.000 }