更改 Eclipse 窗口颜色
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13064171/
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
Change Eclipse window color
提问by BlueCacti
I've been using Eclipse for a while now, as we need it in class to work with xml files.
我已经使用 Eclipse 有一段时间了,因为我们在课堂上需要它来处理 xml 文件。
I'm rather a fan of using dark backgrounds, as I find it easyer for the eyes.
I've found this topicon how to change the theme in Eclipse, but this only changes the color scheme in the coding window.
我更喜欢使用深色背景,因为我觉得这对眼睛来说更容易。
我发现这个话题上如何更改主题在Eclipse中,但这只是改变了编码窗口的配色方案。
Is there a way to change the entire color scheme for the whole program (sidebars, background color, foreground color, ...) in Eclipse like you have in Visual Studio?
有没有办法像在 Visual Studio 中一样在 Eclipse 中更改整个程序的整个配色方案(侧边栏、背景色、前景色等)?
offtopic: I want to do the same in NetBeans
offtopic:我想在 NetBeans 中做同样的事情
EDIT: finally got it to work, but my color scheme s*cks.
Does anyone have a good scheme I can use or some CSS file I may import?
It would be perfect if it fits with any dark Color Theme (Monokai, NightLion Aptana Theme, Oblivion, Obsidian, Pastel, RecognEyes, Sublime Text 2, Sunburst, Wombat or zenburn). Looking at this list, I notice a lot of themes are dark. Too bad the program itself hasn't got themes (unless the Chrome Theme to change everything ourselves)
编辑:终于让它工作了,但我的配色方案很糟糕。
有没有人有我可以使用的好方案或我可以导入的一些 CSS 文件?
如果它适合任何深色主题(Monokai、NightLion Aptana 主题、Oblivion、Obsidian、Pastel、RecognEyes、Sublime Text 2、Sunburst、Wombat 或 zenburn),那将是完美的。查看此列表,我注意到很多主题都是黑暗的。太糟糕了,程序本身没有主题(除非 Chrome 主题自己改变一切)
回答by Bananeweizen
If you are using Eclipse 4, you can use the Eclipse 4 Chrome Themeto style everythingin the program using CSS (or properties for the most used UI elements).
如果您使用的是 Eclipse 4,则可以使用Eclipse 4 Chrome 主题使用 CSS(或最常用的 UI 元素的属性)为程序中的所有内容设置样式。
回答by E-Riz
Many of the colors can be adjusted via Preferences> General> Appearance> Colors and Fonts. For things that are not configurable there, they're controlled by tour operating system color settings.
许多颜色可以通过Preferences> General> Appearance> Colors and Fonts进行调整。对于在那里不可配置的东西,它们由游览操作系统颜色设置控制。