eclipse选中变量,相同变量高亮。

选择Windows->Preferences->Java->Editor->Mark Occurrences,全部选择并保存。

如下图:

原文地址:https://www.cnblogs.com/yoyotl/p/5258112.html