1. Modify Background Protection color
The Eclipse operator interface defaults to white color. 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 the window->preference and eject the Preference panel.
2. Expand The General tab, select the Editors option, and expand.
3. Select text Editorsand the text 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, check background color, tick off system Default, click ' Color ', pop up the color selection panel, choose the color of preference (hue: 85 Saturation: 123 Brightness: 205), click OK.
5. Return to text Editors, click Apply.
Expand the text Editors, and there are other options, such as the color style of the error prompt, and if you're interested in it, try to change it.
2, often I will also set the selected background color is red: Because this is more prominent
Repeat the above-mentioned steps.
4. Select selection background color and change to red.
5. Return to text Editors, click Apply.
3. Set the color of brackets, such as the matching color of curly braces in eclipse
1. Open the window->preference and eject the Preference panel.
2. Check the Java tab and select Editor.
3. Select matching brackets highlight in apperance color options and color red.
4. Return to text Editors, click Apply.
===================================================================================
This can be resolved when the highlighting of variables, constants, methods, and other elements in eclipse does not work when they are selected:
1. Open the window->preference and eject the Preference panel.
2. Check the Java tab and select Editor.
3. check mark Occurrentces.
4, then you can select the relevant need to highlight the section.
Eclipse modifies background protection color and the highlighting of variables and methods