Eclipse Modify background color (bean paste green)

Source: Internet
Author: User
Tags deprecated

The default color of the operator interface is white. For our long-term use of computer programming people, White is very stimulating our eyes, so I often change the background color of workspace, make the eyes more comfortable. The Setup method is as follows:
1. Open window->preference, eject Preference panel
2. Expand the General tab, select the Editors option, and expand.
3. Check test Editors, the test Editors panel appears on the right. There is an option in the Panel: Appearance color options, which is a variety of plate color settings, one of which is background color, choose the color according to your preference.
4. Select background color, tick off system Default, click ' Color ', pop up the color selection panel, select the color you prefer, and click OK.
5. Return to test Editors and click Apply. Expand Test Editors, there are other options, such as the color style of the error prompt, and if you are interested, try changing it.

Background color recommended to you: Hue: 85. Saturation: 1 2 3. Brightness: 2 0 5

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.

Change the background color
Windows->preferences->general->editor->text Editors
Right Select appearance color options
Choose background color to select a background color
Select Current line highlight to change the color of the currently selected row

Eclipse Font Sizing:
Window-Preferences (Preferences)-General-appearance (appearence)-Colors and fonts (Colors and Fonts), select Java-java Editor Text font in the dialog box on the right , click the Change button that appears, you can set the font size of the program displayed in the main form, click Apply in the bottom right corner after setting up, and then click OK.

Font size adjustment FOR XML:
Window--preferences--general--appearance--colors and fonts--basic--"Text font"

Then click Change to set the font size

A visually pleasing code color palette will make the coding process a pleasant one, making writing much more efficient. Eclipse's default code color is ugly, except that the key is brown and the string is blue, and the remaining colors are black. In such a color, the hardest to distinguish is the local variables and types of private fields (others can be judged by the casing rules, if the code is written enough). And too monotonous color, not easy to stimulate the optic nerve and even the central nervous, will increase the fatigue feeling, bring sleepy meaning.

To change this, we have to make changes to eclipse's code color.

Change font Color
Windows->preferences->java->editor->syntax Coloring
Choose Java on the right and you can choose the color freely.

Annotations (note): 107, 147, 186 light blue
Deprecated members (not recommended for use): 0, 0, 0
Fields (field): 128, 0, 128 purple
KeyWord ' return ' (keyword ' return '): 255, 0, 0 red
Keyword excluding ' return ' (except for keyword return): 255, 128, 0 orange
Local variable declarations (variable declaration): 128, 128, 128 gray
Method declarations (Methods declaration): 255, 128, 64 orange
Method: 0, 48, 96 dark light blue
Operators and brackets (operator and square brackets): 255, 128, 0 orange
Others (Other): 96 153, 0 dark green
Static fields: 33, 0, 189 dark blue
static method invocations (statically called): 77, 166 255 days Blue
Strings (String): 132, 26, 238 sky Blue
Type variables (types variable): 128, 0, 25 red-color

Second programme

Change background color (setting on black background)
Windows->preferences->general->editor->text Editors
Right Select appearance color options
Choose background color to select a background color
Select Current line highlight to change the color of the currently selected row

Color scheme Detailed following:
Annotations (note): 107, 147, 186
Deprecated members (not recommended for use): 0, 0, 0
Fields (field): 128,255,0 Green
KeyWord ' return ' (keyword ' return '): 255, 0, 0 red
Keyword excluding ' return ' (except for keyword return): 255, 80, 0 deep Orange
Local variable declarations (variable declaration): 70,140,179 Dark Blue
Method declarations (Methods declaration): 247,197, 39 light Orange
Method: 241,196, 54 deep light orange
Operators and brackets (operator and square brackets): 255, 128, 0 dark Orange
Others (Other): 126, 202, 0 light green
Static fields: 128,255,0 Green
static method invocations (statically called): 77, 166 255
Strings (String): 89,196,196 ink Blue
Type variables (types variable): 222, 0, 25 red

Eclipse Modify background color (bean paste green)

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.