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

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

编辑:

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

2019年更新:

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

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


Eclipse对大多数UI方面(按钮、菜单、列表等)使用本机OS控件。这就是大多数IDE的颜色来源。制作“深色IDE”的第一步是修改你的操作系统颜色主题。然后你可以添加颜色主题插件来完成外观。

2016年8月更新:

Tejas Padliya在评论中补充道:

Dark主题在Eclipse 4.5和Windows 10中工作得很好。 不再有黑底黑字


2014年6月更新:

正如在“黑暗主题,顶级Eclipse Luna功能#5”中提到的,Eclipse 4.4 (Luna)包含了一个黑暗主题(参见informatik01的评论):

当Eclipse 3.0在2004年发布时,它为工作台带来了新的外观。十年后的今天,全新的《黑暗主题》即将问世。 这个主题不仅仅扩展到Widgets。语法高亮显示也得到了改进,以利用新外观。

“最新消息”页面提到:

一个新的黑暗窗口主题已经被引入。这个流行的社区主题展示了底层Eclipse 4样式引擎的强大功能。 您可以在General > Appearance首选项页面启用它。 插件可以为该主题提供扩展,以设置自己的特定视图和编辑器的样式,以匹配窗口主题。


2013年4月更新:

根据Lennart在评论中的说法,下面的解决方案似乎不能很好地与Eclipse Juno 4.2和Windows 8一起工作。

一个(大部分)工作的解决方案是Eclipse Chrome Theme(兼容Juno 4.2甚至Kepler 4.3),来自GitHub项目Eclipse -themes,由Jeeeyul Lee设计。

这篇文章提到:

The first is to change the appearance of what is inside the editor windows. That can be done with the Eclipse Colour Theme plugin (http://eclipsecolorthemes.org/). My favourite editor theme is Vibrant Ink with the Monaco font. They explain how to install their themes very well (http://eclipsecolorthemes.org/?view=how-to-use), although you get a fine set of dark themes with the default plugin install and may not need to come back to their website for any more. Get the plugin here. The second stage is darkening the chrome of the UI, which is all the widgets and menus and everything outside of the child window canvases. This plugin gives you a GUI editor for the chrome colour scheme: https://github.com/jeeeyul/eclipse-themes/. If you want a dark one, go ahead and click away until eclipse is dark. Once you are done, some GUI surface area will show through the system theme as mentioned at the top of this post. Rather than using that editor, you could install the pre-baked Dark Juno theme instead. The install is manual. Start by downloading it from here: https://github.com/eclipse-color-theme/eclipse-ui-themes. It has to be copied into your eclipse dropins folder. This lives next to the eclipse executable, not in your workspace or someplace like that. In my case the command to do the copy was:

cp ./plugins/com.github.eclipsecolortheme.themes_1.0.0.201207121019.jar /usr/lib/eclipse/dropins/

不过,您可以从任何目录运行eclipse,因此哪个eclipse将告诉您它应该放在哪里。 重新启动eclipse,你应该在Preferences::General::Appearance下找到Dark Juno选项。这是一个不错的中性灰色,有一些渐变,是一个非常好的选择。

~~~~~~~~~~~~~~

2012年12月更新(20个月后):

博客“金明剑:日食黑暗主题”中提到了这个GitHub回购“日食主题-黑暗”:

最大的乐趣在于,通过使用依赖注入等Eclipse4平台技术,代码被最小化了。 这再次证明,通过外部形式(如库、框架)的贡献或扩展,可以实现简洁的代码和高级的功能。 新的语言并不仅仅是为了这种目的。


2012年7月更新(15个月后):

我看到了一个!(例如,一个完全黑暗的Eclipse主题),正如Lars Vogel在“Eclipse 4是美丽的-创建您自己的Eclipse 4主题”中所报告的:

如果您想使用它,只需要编写一个插件、创建一个CSS文件并使用org.eclipse.e4.ui.css.swt。主题扩展名点到点指向您的文件。 如果导出插件,将其放在Eclipse安装的“dropins”文件夹中,样式就可用了。

pixeldude在评论中提到了在GitHub上发布“黑暗朱诺”!

Komododave提到你并不总是需要一个插件:参见“Ubuntu + Eclipse 4.2 -暗主题-如何变暗侧边栏背景?”


原答案:2011年3月

请注意,e4可以使用完全黑暗的主题。 (参见e4的动态css或e4的一周- e4的主题化):

与此同时,仅针对编辑(这不是你想要的,但仍然值得提及):

www.eclipsecolorthemes.org:

“用超级棒的颜色主题刷新您的Eclipse !”

如果你在ubuntu 12+获得compiz设置管理器,在可访问性启用负,设置快捷方式。默认值是super+n。现在使eclipse处于焦点中,并按下super+n或您设置的键。这将对eclipse应用负滤镜。

我花了几个小时寻找一个很好的解决方案,使我的eclipse UI黑暗,我终于找到了一种方法。我使用的是Fedora 18和Eclipse for PHP Developers (PDT v3.0.2)。

最好的解决方案是下载DeLorean Dark Theme,然后在Gnome Shell中启用它。

安装过程:

Download DeLorean-Dark-Theme-3.6 vs.2.56 from http://browse.deviantart.com/art/DeLorean-Dark-Theme-3-6-vs-2-56-328859335 Unzip the archive, and copy the delorean-dark-theme-3.6 folder to /usr/share/themes/ Open Gnome Tweak Tool Enable the freshly installed theme from Theme > Gtk+ Theme (If gnome-tweak-tool isn't installed, install it using yum install gnome-tweak-tool, then F2 or launch it from the terminal) Reload Gnome Shell by hitting F2, then typing 'r' Open Eclipse PDT and enjoy the new look I highly recommend to pick one of the nice code coloring themes from eclipsecolorthemes [DOT] org I am using a custom version of the Oblivion theme by Roger Dudler

下面是它的样子:http://i.stack.imgur.com/Xx7m6.png


此过程适用于Eclipse PHP和Aptana 3。如果您正在使用Eclipse 4及更高版本,我推荐DeLorean Dark Theme for Eclipse: http://goo [DOT] gl/wkjj8

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


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

以下是截图:


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

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

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

这是我的黑色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

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

玩得开心!

有一个新的插件为Eclipse提供了完整的主题:

http://brainwy.github.io/liclipse/

它与Eclipse Color Theme集成在一起,因此当在首选项> general > appearance > Color Theme中选择一个新主题时,适当的背景也会应用到IDE的其他部分(为之前根据同一页面中的组合注册的所有内容或视图设置主题)。

除了主题,它还提供了一堆其他的东西:)

月出是我看过的《月食》中最好的黑暗主题! 只要按照网站上的步骤,就可以享受了!

https://github.com/guari/eclipse-ui-theme

帮助→安装新软件。 输入Eclipse颜色主题插件URL: http://eclipse-color-theme.github.com/update 安装Eclipse颜色主题插件。 重新启动Eclipse。 选择窗口→首选项→常规→外观→颜色主题 我喜欢Havenjark默认的颜色主题。Eclipse颜色主题插件带有24个默认颜色主题和导入主题的选项。

我已经建立了一个win7黑暗主题的基础上流行的windows 7'凹7'主题日食黑暗朱诺主题。 我还从Janni Nurmin创建的编辑器颜色主题“Zenburn”中获得灵感,创建了一个黑暗主题

以下是这个主题的照片: https://plus.google.com/u/0/photos/114921213517944089128/albums/5952793008016527457

这个主题的所有设置都可以在github上找到: https://github.com/youjenli/dark-theme-for-win7-eclipse

欢迎反馈和建议,谢谢!

你可以使用这个伟大的主题从上面和添加预定义的主题只从这个网站的编辑器:

http://eclipsecolorthemes.org/

(我用guari和retta,我觉得看起来真的很好:)

我希望它能帮助到一些人:)

安装一个新版本的Eclipse (Luna Release(4.4.0)或更新的版本),它默认包含一个很棒的Dark主题。

以下是截图:

对于一个Visual Studio 2013黑暗主题:

将这个来自eclipsecolorthemes.org(一个.epf)的首选项文件与Eclipse Luna的内置黑暗主题结合起来。我可以通过以下步骤做到这一点:

>一般>外观>主题:黑色。 文件>导入>常规>首选项>浏览:theme-25999。epf >完成。

在eclipsecolorthemes.org上搜索更多VS黑暗主题的示例

它的简单。下载这个文件DarkJuno主题。然后提取rar文件并复制com.github.eclipsecolortheme. themes_id .0.0.201207121019.jar文件到/yourEclipsHome/dropins。

然后重新启动eclipse,进入window/preference/General/Appearance。在那里选择黑暗朱诺主题下拉。这是它。重新启动您的eclipse。

要了解更多信息,请观看这个视频教程

如果深色主题的目的是让你的眼睛舒服,你可以启用操作系统的高对比度设置。例如,在Windows 8.1中,你可以通过按ALT +左SHIFT + PRINT SCREEN打开-关闭高对比度

这将使整个操作系统处于黑暗模式,而不仅仅是日食。下面是启用了高对比度的Eclipse的示例截图

这个问题有一个非常简单的解决方案)只需几个简单的步骤,就可以将您丑陋的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:安装一些黑色主题,并尝试哪个更适合你

有一个全新的免费插件,它非常DARK,支持Retina,有漂亮的图标。

最重要的是:它在WINDOWS上不烂!它没有白色的滚动条和其他工件。太黑了。

你会在那里找到它: https://marketplace.eclipse.org/content/darkest-dark-theme

这是它在Windows 10视网膜屏幕上的样子:

《至暗之夜》是最好的黑暗题材。 它还带有不同的工具栏图标形状。这是链接:

https://marketplace.eclipse.org/content/darkest-dark-theme

希望你喜欢。

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

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

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!

对于Mac,

Eclipse >首选项>外观>主题