Eclipse中java文件选中变量名,相同变量都变色显示 .
第一步设置高亮显示的颜色:
Window-->preferences-->General-->Editors-->Text Editors-->Annotations-->右边选择点击Occurrences-->设置Color
第二步启用高亮显示功能:
Window-->preferences-->Java-->Editor-->Mark Occurrences"复选框勾选
第一步设置高亮显示的颜色:
Window-->preferences-->General-->Editors-->Text Editors-->Annotations-->右边选择点击Occurrences-->设置Color
第二步启用高亮显示功能:
Window-->preferences-->Java-->Editor-->Mark Occurrences"复选框勾选