Set Eclipse interface Colors

Source: Internet
Author: User
Tags deprecated

"Load Configuration"

Import configuration:

Open Eclipse file-> Import ...->preference->next-> browse-> selected ***.EPF file

Export configuration:

Open Eclipse file-> Export ...->preference-> tick export all->browse->finish

" Manual Modification "

Eclipse Background Color modification:

The default color of the operation interface is white. For those of us who use computer programming for a long time, white is very irritating to our eyes, so I often change the background color of workspace to make my eyes more comfortable. Set the method as follows:
1, open window->preference, pop-up preference panel
2, expand General Label, select editors option, unfold.
3, select Test Editors, the right appears test Editors panel. There is an option in the Panel: Appearance color options, which are the set of various plate colors, one of which is background color, choose colors according to your preferences.
4, check background color, tick system Default, click ' Color ', pop-up color selection panel, choose the color of preference, click OK.
5, return to test Editors, click Apply. Expand Test Editors, as well as other options, such as the color style for the error hint, and try to change it if you are interested.

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

Documents are no longer dazzling white background black words, but very soft red bean paste green, this hue is the eye expert configuration, long time use will be very effective to alleviate eye fatigue protection eyes.

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

Color scheme Details following:

Eclipse Font Size adjustment:
Window-Preferences (Preferences)-General-appearance (appearence)-Colors and fonts (Colors and Fonts), select Java-java Editor Text font in the right dialog box , click on the Change button, you can set the display in the main form of the program font size, set up after the click on the lower right corner of the application (apply), and finally click OK (OK).

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

Then click Change to set the size of the font

For Example:

A look very comfortable code color, will make the coding process become comfortable, so that the efficiency of the preparation of many. The Eclipse default code color is ugly, except that the keyword is brown bold, the string is blue, and the remaining colors are black. In such a color, the most difficult to distinguish is the local variables and types of private fields (other things can be judged by the case rules, if the code is written enough specification). And too monotonous color, not easy to stimulate the visual nerve and even the central nervous, will increase fatigue feeling, bring sleepy meaning.

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

My Code color



Change font Color
Windows->preferences->java->editor->syntax Coloring
Select Java on the right and then free to choose the color

Annotations (note): 107, 147, 186 light blue
Deprecated members (not recommended): 0, 0, 0
Fields (field): 128, 0, 128 purple
KeyWord ' return ' (key word ' return '): 255, 0, 0 red
Keyword excluding ' return ' (except the key word return): 255, 128, 0 orange
Local variable declarations (partial variable declaration): 128, 128, 128 gray
Methods declarations (method declaration): 255, 128, 64 orange
Method (Methods): 0, 48, 96 dark light blue
Operators and brackets (operators with square brackets): 255, 128, 0 orange
Others (Other): 96 153, 0 dark green
Static fields (quiescent field): 33, 0, 189 dark blue
static method invocations: 77, 166 255 days Blue
Strings (String): 132, 26, 238 in blue
Type variables: 128, 0, 25 red color learning from now on

Second programme

Change background color (settings for black background)
Windows->preferences->general->editor->text Editors
Right Choice appearance color options
Choose background color Select background colors
Select Current line highlight to change the color of the currently selected row

Color scheme Details FOLLOWING:&NBSP
Annotations (note): 147, 186 
Deprecated members (not recommended): 0, 0, 0 
F Ields (field): 128,255,0 green
KeyWord ' return ' (keyword ' return '): 255, 0, 0   Red
KeyWord excluding ' return ' ( Except the keyword return): 255,80, 0   deep orange
local variable declarations (locals declaration): 70,140,179   Dark blue
Method declarations (method declaration): 247,197,39   Light Orange
Method:  241,196,54   Dark orange
Operators and brackets ( Operators with square brackets: 255, 128, 0    Deep Orange
Others (other): 126, 0   pale green
static fields (static field): 128,255,0 Green
Stat IC Methods invocations (static method invocation): 166 255  
Strings (strings):  89,196,196   ink Blue
Type variables (type variable): 2 0   Red

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.