Eclipse background color and keyword settings There is not much to say, just to set the path:
Background color: "Window"---> "Preference"--"general"---> "Editors"---> "Text Editors":
"Line number foreground" is the color of the edit lines, my habit is set to r:190,g:214,b:255
"Background Color" is the edit background color, my habit is set to r:61,g:61,b:61
There is a "Highlight current line" in the above option, this highlight is not selected.
==============================================================
Let's look at the edit Java keyword color settings:
"Window"---> "Preference"--"Java"---> "editor"---> "Syntax coloring"
This is only a special record.
Note in "Comments", use a color of r:125,g:251,b:0
===================================================================
When background and line number background are set to dark color, there is a small white stripe between the background and the line number, this
"Preferences" >> "Java" >> "editor" >> "folding" tab,
Remove the "Enable folding" option, then click "Apply", then "Enable folding" option to check back, then "Apply" just fine ...
=================================================================
When a word is selected, if the same word appears in the text, the color will be highlighted at the same time:
Window---> Preferences---> Java---> Editor---> "Mark occurrences" check box tick
Mark occurrences is a very useful feature that can be used to highlight all occurrences of a selected method/variable in this class.
But the default color is gray, very destructive eye. Then to change the color will be set as follows:
"Window", "Preferences", "General", "Editors", "Text Editors", "Annotations"
Under this "occurrences" and "Write occurrence" to change, my habit is changed to: Purple
The effect is as follows:
Of course, some tags, such as "JavaScript occurrence", "Filter search Result", "search result" and so on, are used here to change
========================================================================
In addition, there is a matching highlight color settings, in the Edit page right-click, select "Preference", you can see "Matching brackets Highlight",
My habit is to set it to white:
==========================================================
Finally, the point is that some methods are built with their own comments, if you want to remove these comments, you can:
1. In the menu bar "window"-"Preferences"-"Java"-"code Style"-"code Templates"-"Code"-"Method Body
Then click the Edit button on the right to remove the "auto-generated method stub"
2, in the menu bar "window"--"Preferences"--"Java"--"editor"--"Templates"
Then find the Try option, double-click to edit, and//Todo:handle exception to remove
Of course you can also edit other options.
Eclipse background and match some settings for occurrences of words