如何更改Eclipse IDE中所有VIEWS的背景? [英] How to change background of all VIEWS in Eclipse IDE?

查看:208
本文介绍了如何更改Eclipse IDE中所有VIEWS的背景?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想深入了解Eclipse IDE(Aptana)。
我改变了代码编辑器和其他颜色的背景颜色。
但是我无法弄明白,如何改变所有视图的背景颜色...
在窗口 - > Prefenreces - >外观 - >颜色和字体我可以调整几个视图(插件管理器,脚本视图,文件视图),但不是全部。
有没有办法呢?
我应该编辑哪些配置文件?

解决方案

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



随着最新的Eclipse4.2(2012年6月,Juno)版本,您将不再依赖于操作系统的颜色,可以精确地选择每个视图(或任何其他元素)的颜色)。

请参阅,这种设置主要关注编辑器:





但是对于eclipse编辑器的其余部分,这个线程指出了困难:


这其实是很难的问题,因为它似乎每个插件都有它自己的颜色,你不能以任何方式设置将继承到不同插件的默认值。



不,您需要做的是更改每个插件中的颜色。我认为这是Eclipse的颜色管理中的一个问题,而不是PDT的问题。


Eclipse的Dark配色方案?提到:


大多数其他视图由操作系统指定的颜色控制。

例如,在Windows上,您可以前往高级外观设置,并更改具有所需颜色的窗口项目。

当然,这意味着所有的应用程序都会在整个操作系统上进行更改,根据您的喜好,可能会有好坏。


< blockquote>

I would like to get a dark look for Eclipse IDE (Aptana). I changed background color of code editors and other colors. But i can't figure out, how to change background color of all views ... In Window -> Prefenreces -> Appearance -> Colors and Fonts i can tweak only few views (Plugin Manager, Script view, file view) but not all. Is there a way to do it ? What configuration files should i edit ?

解决方案

Update July 2012 (31 months later):

With the latest Eclipse4.2 (June 2012, "Juno") release, you won't depend on the OS colors anymore and can choose precisely the colors for each view (or any other elements) of your IDE.
See the article by Lars Vogel in "Eclipse 4 is beautiful – Create your own Eclipse 4 theme":

If you want to play with it, you only need to write a plug-in, create a CSS file and use the org.eclipse.e4.ui.css.swt.theme extension point to point to your file.
If you export your plug-in, place it in the "dropins" folder of your Eclipse installation and your styling is available.


Original answer: December 2009

As mentioned in the question Color Themes for Eclipse?, that kind of setting mainly concern the editor:

But for the rest of the eclipse editor, this thread points out the difficulty:

This is actually quite hard problem, because it seems that every plugin has it's own colors and you cannot any way set defaults which would inherit down to different plugins.

No, what you need to do is to change colors in every plugin. I think this is a problem in Eclipse's color management in general and not a PDT's problem.

The SO answer to Dark color scheme for Eclipse? mentions:

Most of the other views are controlled by the colors specified by the operating system.
For example, on Windows you can head to the Advanced Appearance settings and change the Window item with your desired colors.
Of course, this means all your applications change across the entire operating system, which may be good or bad depending on your taste.

这篇关于如何更改Eclipse IDE中所有VIEWS的背景?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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