Eclipse fonts and background color

拜拜、爱过 提交于 2019-11-26 11:45:24

问题


I have been trying to change the background color of Eclipse\'s windows to black and customize the font colors. There doesn\'t seem to be a way to do this, at least not in an obvious way. I am using version 3.3.

How do I do this or are there any plugin\'s that might be able to assist in doing this?


回答1:


To change background colour

  1. Open menu *Windows → PreferencesGeneralEditorsText Editors
    • Browse Appearance color options
    • Select background color options, uncheck default, change to black
    • Select background color options, uncheck default, change to colour of choice

To change text colours

  1. Open JavaEditorSyntax Colouring
    • Select element from Java
    • Change colour
    • List item

To change Java editor font

  1. Open menu WindowsPreferencesGeneralAppearanceColors and Fonts
    • Select JavaJava Editor Text font from list
    • Click on change and select font



回答2:


I just came across this: Eclipse Colour Themes

Install the plugin and choose from a selection of pre-defined themes, or write your own. Just what I needed!




回答3:


Background color of views (navigator, console, tasks etc) is set according to the desktop (system) settings. On Linux/GNome I changed System/Preferences/Appeareance to change this color.

Editor colors are set chaotically by different editors, search for background in eclipse preferences to find different options. One easy way to get beautiful dark (and not only dark) themes is to install Afae plugin, and then pick theme within its preferences (twilight theme is beautiful, for example) - again, eclipse prefs, Afae group. Of course this applies only when you edit with Afae.




回答4:


Under Windows → Preferences → General → Apperance you can find a dark theme.




回答5:


You can install eclipse theme plugin then select default. Please visit here: http://eclipsecolorthemes.org/?view=plugin




回答6:


If you go to Windows, Preferences then select General, Editors, Text editors, you can set colors on that property page (and there's a link for setting MORE colors - General, Appearance, Colors and fonts).

That's with an Eclipse 3.3 build anyway.




回答7:


The easiest way is to install the plugin is from the Eclipse Marketplace. Go to Help→Eclipse Marketplace, then search for Eclipse Color Theme and install it.




回答8:


... on a Mac, Preferences' is under the main 'Aptana Studio 3' menu rather than the 'Windows' menu as mentioned above.




回答9:


On Windows or Mac, you can find this setting under the GeneralEditorsText Editors menu.



来源:https://stackoverflow.com/questions/186118/eclipse-fonts-and-background-color

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!