Keyword highlighted (variable, function name ......)
Toggle mark occurrences (Alt + Shift + O). You can also press the yellow crayon icon in the shortcut Toolbar of the eclipse main interface to set the highlighted display.
After setting, variables and other keywords, after you select or double-click the keyword, all the places where the keyword appears will be displayed in the same text, with the gray background highlighted (it seems that sometimes it is difficult to make the keyword, eclipse is a cheaper product! )
Change its color:
Choose Windows> preferences> JAVA> editor> MARK occurences. Click annotations in the first line to display the list, select color on the Right of occurrence annotation.
Link to Annotations:
When the color is changed, some versions (such as the Japanese version) may not be connected (annotations ).
General ---> editors -----> test editors ------> annotations