Eclipse doesn't highlight references anymore

后端 未结 11 1339
离开以前
离开以前 2020-12-07 07:35

I have an odd problem. In Eclipse Ganymede, I used to be able to highlight a variable, and it would highlight the use of that variables in that method. However through some

11条回答
  •  眼角桃花
    2020-12-07 08:33

    • In Eclipse Kepler,
      You can simply use the "Toggle Mark Occurrences" icon on the tool bar or you can use keyboard short cut alt+shift+O.

      enter image description here

    • Window > Preferences > Java > Editor > Mark Occurrences. Enable "Mark occurrences of the selected element in the current file" and click Apply.

      enter image description here

提交回复
热议问题