刚装没多久的Eclipse,用了没几天发现选中某个变量或方法不能提示在本文件中的使用位置了,找了几天终于发现原因.记录下来备忘:
windows-preferences-editor-Mark Occurrences-右边选中需要的,然后在 将 Mark occurrences of the selected element in the current file.打勾就有了.