Eclipse highlights the selected same variables
Blog type:
Eclipse
Problem description:
When using shortcuts or other causes in eclipse, you accidentally press the wrong button to make the variables highlighted.
1. solution:
Choose Windows> preferences> JAVA> editor> MARK occurences.
Select the top check box.
The local variables is the highlighted variable.
2. There are also simpler methods:
I searched it online. It turned out to be toggle mark occurrences (Alt + Shift + 0)
This button is not pressed, and the pen shape icon in the small yellow color on the toolbar.
3. Change the 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.
This article from: http://technique-digest.iteye.com/blog/1343467 thanks to the contribution of the blogger!