Window->Preferences->General->Editors->Text Editors->Annotations->Occurrences,如图:

这个高亮设置很多文章都讲解了。不过,个人感觉最详细的设置内容是金丝燕上的。可以看看这个:swiftlet.net/archives/1248

选择:windows-> preferences->java->Editor->Mark Occurences->第一行有个“Annotations”点击进入,显示出列表,找到 Occurrence annotation 右边选择Color即可。
最光阴丶