是否有办法将Eclipse完全转变为暗IDE? 这是我问的问题的图片:

我不介意花1个小时做这样的事情:D

编辑:

正如Konstantin Komissarchik所说,我必须修改我的操作系统颜色。这可以通过在Windows中添加自定义视觉样式来实现。在Windows 7的自定义主题和自定义视觉风格的帮助下(我做了一点改变),我的Eclipse看起来如下图所示:

2019年更新:

Eclipse的最新版本现在带有一个黑暗主题。只需点击“窗口->首选项->常规->外观->主题”,然后根据您的操作系统选择“黑暗”或其他合适的版本。

当然,你仍然可以在Windows上启用深色视觉风格,或者在其他操作系统上更改你的主题,但默认的深色主题在大多数情况下已经足够好了。


当前回答

相反,如果找到一个晚上的主题,我发现一个实用程序,把我的整个桌面进入夜间模式负屏幕。

我使用下面调整的“智能反转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 }

其他回答

这是我的黑色Eclipse自定义CSS Chrome主题插件。可用于eclipse 4.2和4.3。主要目标是让它在ubuntu中看起来更漂亮,除了让它“更暗”。

警告:可能在Windows系统上运行,也可能不运行,只在ubuntu上运行。

要求:Chrome主题和颜色主题插件

Install those mentioned plugins. They can be found in the eclipse marketplace. Install my variant of Gedit Oblivion Theme in Color Theme and activate it. (http://eclipsecolorthemes.org/?view=theme&id=12544) Insert the custom css in css editor of Chrome Theme. I spend several hours with CSS Spy to find out all the relevant information to make eclipse as black and this file as small as possible. There is also an .epf File for the Chrome Theme plugin preferences you should import. You can get it from my dropbox: https://www.dropbox.com/sh/ye5tosl3cjhx96d/yL-_Y5j1PE

最后你的日食看起来会是这样的:

玩得开心!

Windows 10用户

如果你想在Windows 10上获得自定义窗口标题颜色,简而言之就是这样

到此(或Eclipse IDE窗口的任何其他自定义颜色)

按照下面的步骤进行。

进入c:\ windows \资源\主题\。复制文件夹aero和文件aero.theme。如果不能复制文件夹和文件,则右键单击属性、安全性、修改,将用户添加到权限,并设置修改、读取和写入权限。

重命名文件夹C:\Windows\Resources\Themes\aero - copy和文件C:\Windows\Resources\Themes\aero - copy。C:\Windows\Resources\Themes\custom和C:\Windows\Resources\Themes\custom。主题(您可以选择您想要的名称)。

重命名C:\Windows\Resources\Themes\custom\aero.msstyles到C:\Windows\Resources\Themes\custom.msstyles。

重命名C:\Windows\Resources\Themes\custom\ % your_locale % \ aero.msstyles。c:\ windows \资源\主题\custom\%your_locale%\custom.msstyles.mui (%your_locale%在我的例子中是fr-FR)。

编辑自定义。将VisualStyles的PATH变量更改为custom.msstyles。

通过双击custom.theme设置您的自定义主题(但未更改)。然后右键单击开始菜单按钮,进入参数->自定义外观->主题,选择第二个。转到颜色菜单,为每个应用程序选择暗模式。选择自定义颜色为强调颜色,并把它全黑。

应用你最喜欢的黑暗主题(这里DevStyle -最深的黑暗-深黑色)到Eclipse和voilà,你有一个完整的黑暗主题的Eclipse在Windows 10!

这个问题有一个非常简单的解决方案)只需几个简单的步骤,就可以将您丑陋的Eclipse变成完全黑暗的野兽)

全暗Eclipse的例子

没有繁重的工作或手动编辑所需的文件!

至少这适用于Ubuntu 14.04上的最后一个Eclipse (Mars 2)(尽管我认为这样的过程应该适用于所有的操作系统)

So:

Download some dark GTK theme for example, you can grab few from http://www.noobslab.com/ To apply your newly installed theme you will need Unity tweak tool sudo apt-get install unity-tweak-tool sudo apt-get install unity-webapps-service Launch Unity tweak - Appearance - Theme - apply your dark theme Open Eclipse; in preferences choose GTK theme In Eclipse, open Marketplace and install Color Theme - you will be able to change editor background and highlight colors to match your dark theme Close Eclipse Go to Eclipe folder: ../Eclipse/plugins/org.eclipse.ui.themes_WHATEVER_NUMBER_HERE/ in that folder rename or delete 'css' folder Open and enjoy fully darked Eclipse!

PS:安装一些黑色主题,并尝试哪个更适合你

对于Mac,

Eclipse >首选项>外观>主题

更新2:这个插件的一个分支已经与主Eclipse平台合并。您应该会在未来的Eclipse发行版中发现它已预安装;)


更新:我发布了一个新版本,它有点暗,现在几乎所有目前可以修改的东西都对齐到主题颜色。玩得开心!

以下是截图:


如果你喜欢,我在github上上传了一个黑暗的主题,我几个月前做的,以避免瞎了我的眼睛,当花很多时间在编辑器。我之所以这样做,是因为在所有其他主题中,一些Eclipse部分仍然很难看,没有风格。

你可以在这里找到它:http://guari.github.io/eclipse-ui-theme/

与我的Eclipse配置工作得很好,如果你发现一些元素仍然没有风格,你可以提交一个问题或建议更改,我会尽量纠正它,如果它是可能的;)(提醒,目前,CSS样式支持在Eclipse中它是不完整的,有时bug ..)