1, open window/preference, pop Preference panel 2, expand the General tab, select the Editors option, expand. 3. Select the Text Editors and the Testeditors panel appears on the right. There is an option in the Panel: Appearance color options, which is a variety of palette color settings, one of which is background color, tick off system Default, click ' Color ', pop up the color selection panel, Select the color you prefer and click OK.
Note: Background color eye Specialist recommended: Hue 85, saturation, 123, brightness 205. Documents are no longer the glare of the white black word, but very soft red bean paste green, this tone is the eye specialist configuration, long-time use will be effective to alleviate eye fatigue to protect the eyes.
4. Return to test Editors and click Apply. Expand Test Editors, and there are other options, such as the color style of the error prompt, which you can try to change as needed.
Eclipse Font Sizing:
Window/preferences/general/appearance/colorsand Fonts, in the Right dialog box, select Java-java Editor Text Font, click the Edit button that appears, you can set Display the font size of the program in the main form, click Apply in the lower right corner after setting up, and then click OK.
XML file Font size adjustment: window/preferences/general/appearance/colors and Fonts/basic/"Text font", then click Edit to set the font size.
PS: The above method is only a simple background setting in Eclipse, Eclipse can also use a dedicated plugin to set the code background, you can view the Eclipse plugin: Eclipse Color Theme article.
MyEclipse background with font size and font sizing in XML files