eclipse 高亮显示相同内容,标记当前文件中所选元素的出现次数

java开发模式:

参考改文章:http://swiftlet.net/archives/1248

Windows-> Preferences->Java->Editor->Mark Occurences 选择所有项

scala开发模式:

Windows-> Preferences->Scala->Editor 勾选【mark occurrences of the selected element in the current file】

eclipse 高亮显示相同内容,标记当前文件中所选元素的出现次数