Eclipse选中变量名,相同变量都变色显示
java文件的设置"Window"-"preferences"-"Java"-"Editor"-"Mark Occurrences"复选框勾选Mark occurrences of the selected element in the cruuent file.