Eclipse background color modification:
The default color of the operation interface is white. For those who have been using computer programming for a long time, white is very irritating to our eyes, so I often change the background color of workspace to make our eyes more comfortable. The setting method is as follows:
1. Open Window-& gt; preference. The preference panel is displayed.
2. Expand the General tag, select the editors option, and expand.
3. Select Test editors and the test editors panel appears on the right. The Panel has the following options: appearance color options, which is the setting of various plate colors. One of them is the background color, which selects the color based on your preferences.
4. select background color, remove system default, and click 'color'. The color selection panel is displayed. Select the preferred color and click confirm.
5. Return to test editors and click Apply. Expand test editors and have other options, such as the color style of the error message. If you are interested in this, try to change it.
We recommend that you set the background color to 85. Saturation: 1 2 3. Brightness: 2 0 5
The document is no longer an eye-catching black text, but rather gentleBean Paste green,This tone isOphthalmology expert ConfigurationLong time use can effectively relieve eye fatigue and protect the eyes.
Change Background Color
Windows> preferences> General> editor> text editors
Select appearance color options on the right
Select background color
Select current line highlight to change the color of the selected row
Detailed following color scheme:
Eclipse font size adjustment:
Window-preferences-General-appearance-colors and Fonts ), in the dialog box on the right, select java-java editor text font and click the change button to set the font size of the program displayed in the main form, click Apply in the lower-right corner and click OK.
XML font size adjustment:
Window -- preferences -- General -- appearance -- colors and fonts -- Basic -- "text font"
Click Change to set the font size.
Eclipse
Change color and background
A seemingly comfortable code color will make the coding process more comfortable and improve the writing efficiency a lot. The default code color of eclipse is really ugly, except for the brown bold keyword and the blue string, the other colors are black. In such a color scheme, the most difficult to distinguish is the local variables and private fields of the type (others can be determined by case-sensitivity rules, if the code is well written ). In addition, the color is too monotonous, and it is not easy to stimulate the visual nerve and even the central nervous system, which will increase fatigue and cause distress.
To change this situation, we must change the color of the eclipse code.
My code color
Change font color
Windows> preferences> JAVA> editor> syntax coloring
Select Java on the right and select the color as needed.
Annotations (Note): 107,147,186 light blue
Deprecated members (not recommended members): 0, 0, 0
Fields (field): 128, 0,128 purple
Keyword 'Return '(keyword 'Return'): 255, 0, 0 red
Keyword excluding 'Return '(except for the keyword): 255,128, 0 orange
Local variable declarations (local variable declaration): 128,128,128 gray
Method declarations (method declaration): 255,128, 64 orange
Method (method): 0, 48, 96 dark light blue
Operators and brackets (operator and square brackets): 255,128, 0 orange
Others (Others): 96 153, 0 dark green
Static fields: 33, 0,189 dark blue
Static method invocations (static method call): 77,166 255 days blue
Strings (string): 132, 26,238 Zhongtian blue
Type variables (type variable): 128, 0, 25 red
Learning from now on
Solution 2
Change the background color (black background settings)
Windows> preferences> General> editor> text editors
Select appearance color options on the right
Select background color
Select current line highlight to change the color of the selected row
Detailed following color scheme:
Annotations (Note): 107,147,186
Deprecated members (not recommended members): 0, 0, 0
Fields (field): 128,255, 0 green
Keyword 'Return '(keyword 'Return'): 255, 0, 0 red
Keyword excluding 'Return '(except for the keyword):, 80, 0 deeply orange
Local variable declarations (local variable declaration): 70,140,179 dark blue
Method declarations (method declaration): 247,197, 39 pale orange
Method: 241,196, 54 dark orange
Operators and brackets (operator and square brackets): 255,128, 0 dark orange
Others (Others): 126,202, 0 light green
Static fields (static field): 128,255, 0 green
Static method invocations (static method call): 77,166 255
Strings (string): 89,196,196 mercury blue
Type variables (type variables): 222, 0, 25 red
Eclipse background color modification:
The default color of the operation interface is white. For those who have been using computer programming for a long time, white is very irritating to our eyes, so I often change the background color of workspace to make our eyes more comfortable. The setting method is as follows:
1. Open Window-& gt; preference. The preference panel is displayed.
2. Expand the General tag, select the editors option, and expand.
3. Select Test editors and the test editors panel appears on the right. The Panel has the following options: appearance color options, which is the setting of various plate colors. One of them is the background color, which selects the color based on your preferences.
4. select background color, remove system default, and click 'color'. The color selection panel is displayed. Select the preferred color and click confirm.
5. Return to test editors and click Apply. Expand test editors and have other options, such as the color style of the error message. If you are interested in this, try to change it.
We recommend that you set the background color to 85. Saturation: 1 2 3. Brightness: 2 0 5
The document is no longer an eye-catching black text, but rather gentleBean Paste green,This tone isOphthalmology expert ConfigurationLong time use can effectively relieve eye fatigue and protect the eyes.
Change Background Color
Windows> preferences> General> editor> text editors
Select appearance color options on the right
Select background color
Select current line highlight to change the color of the selected row
Detailed following color scheme:
Eclipse font size adjustment:
Window-preferences-General-appearance-colors and Fonts ), in the dialog box on the right, select java-java editor text font and click the change button to set the font size of the program displayed in the main form, click Apply in the lower-right corner and click OK.
XML font size adjustment:
Window -- preferences -- General -- appearance -- colors and fonts -- Basic -- "text font"
Click Change to set the font size.
Eclipse
Change color and background
A seemingly comfortable code color will make the coding process more comfortable and improve the writing efficiency a lot. The default code color of eclipse is really ugly, except for the brown bold keyword and the blue string, the other colors are black. In such a color scheme, the most difficult to distinguish is the local variables and private fields of the type (others can be determined by case-sensitivity rules, if the code is well written ). In addition, the color is too monotonous, and it is not easy to stimulate the visual nerve and even the central nervous system, which will increase fatigue and cause distress.
To change this situation, we must change the color of the eclipse code.
My code color
Change font color
Windows> preferences> JAVA> editor> syntax coloring
Select Java on the right and select the color as needed.
Annotations (Note): 107,147,186 light blue
Deprecated members (not recommended members): 0, 0, 0
Fields (field): 128, 0,128 purple
Keyword 'Return '(keyword 'Return'): 255, 0, 0 red
Keyword excluding 'Return '(except for the keyword): 255,128, 0 orange
Local variable declarations (local variable declaration): 128,128,128 gray
Method declarations (method declaration): 255,128, 64 orange
Method (method): 0, 48, 96 dark light blue
Operators and brackets (operator and square brackets): 255,128, 0 orange
Others (Others): 96 153, 0 dark green
Static fields: 33, 0,189 dark blue
Static method invocations (static method call): 77,166 255 days blue
Strings (string): 132, 26,238 Zhongtian blue
Type variables (type variable): 128, 0, 25 red
Learning from now on
Solution 2
Change the background color (black background settings)
Windows> preferences> General> editor> text editors
Select appearance color options on the right
Select background color
Select current line highlight to change the color of the selected row
Detailed following color scheme:
Annotations (Note): 107,147,186
Deprecated members (not recommended members): 0, 0, 0
Fields (field): 128,255, 0 green
Keyword 'Return '(keyword 'Return'): 255, 0, 0 red
Keyword excluding 'Return '(except for the keyword):, 80, 0 deeply orange
Local variable declarations (local variable declaration): 70,140,179 dark blue
Method declarations (method declaration): 247,197, 39 pale orange
Method: 241,196, 54 dark orange
Operators and brackets (operator and square brackets): 255,128, 0 dark orange
Others (Others): 126,202, 0 light green
Static fields (static field): 128,255, 0 green
Static method invocations (static method call): 77,166 255
Strings (string): 89,196,196 mercury blue
Type variables (type variables): 222, 0, 25 red