Eclipse选中变量名,相同变量都变色显示 的设置

ava文件的设置"Window"-"preferences"-"Java"-"Editor"-"Mark Occurrences"

复选框勾选Mark occurrences of the selected element in the cruuent file.

如下图所示:

原文地址:https://www.cnblogs.com/jiqiyoudu/p/5141028.html