Eclipse editor show variable occurrence

前端 未结 2 1498
梦如初夏
梦如初夏 2021-02-07 07:15

In Eclipse Standard Installation the editor marks all occurrences of a variable if you click on it with a cursor.

e.g. Setting the cursor somewhere on the \'foo\' Variab

相关标签:
2条回答
  • 2021-02-07 08:00

    You are asking about the "Toggle Mark Occurrences" the short cut for this is Alt + Shift + O

    0 讨论(0)
  • 2021-02-07 08:00

    You can also enable it from

    Window > Preferences > Java > Editor > Mark Occurrences
    
    0 讨论(0)
提交回复
热议问题