Eclipse settings: Adjust the background and font size and the font size in the XML file.

Source: Internet
Author: User
Modify the background color of the Code in Eclipse:

The default color of the code editing page is white. For those who have been using computer programming for a long time, white is very irritating to our eyes, so changing the background color of workspace can make our eyes more comfortable. The setting method is as follows:

1. Open Window/preference. The preference panel is displayed. 2. Expand the General tag, select the editors option, and expand. 3. Select text editors and the testeditors panel appears on the right. The Panel has the following options: appearance color options, which is the setting of various plate colors. One of the options is background color. Remove system default and click 'color'. The color selection panel is displayed, select a preferred color and click OK.

Note: recommended by background color ophthalmology experts: The color is 85, the saturation is 123, and the brightness is 205. The document is no longer an eye-catching black text, but a very soft bean paste green. This color is configured by an eye expert. It can effectively relieve eye fatigue and protect the eyes for a long time.

4. Return to test editors and click Apply. Expand test editors and have other options, such as changing the color style of the error message.

 

Eclipse font size adjustment:

Window/preferences/General/appearance/colorsand fonts. In the dialog box on the right, select java-java editor text font and click the edit button, you can set the font size of the program displayed in the main form, click Apply in the lower right corner, and click OK.

 

Adjust the font size of the XML file: Window/preferences/General/appearance/colors and fonts/basic/"text font", and click Edit to set the font size.

Note: The above method is just a simple background solution setting in eclipse. You can also use a special plug-in to set the code background in eclipse. You can view the Eclipse plug-in: eclipse color theme.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.