Eclipse doesn't highlight references anymore

后端 未结 11 1365
离开以前
离开以前 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条回答
  •  旧时难觅i
    2020-12-07 08:23

    I had this too and my Mark Occurrence options were already all checked. As always, try restarting Eclipse, it worked for me.

    EDIT: It actually kinda worked. There's a bug on Eclipse that when you open a project in a new window (in case your first Eclipse window is a mess full of projects) it starts not to work. In case you need you can select an item and toggle the highlighter in the toolbar or use Alt+Shift+O, but you're gonna have to do it every time you select an item.

提交回复
热议问题