IntelliJ navigate to next and previous highlighted variable

后端 未结 10 2232
野的像风
野的像风 2020-12-14 05:31

In IntelliJ 10.5 I have \"Highlight usages of element at caret\" enabled. When a variable/method/etc is selected, is there a way to move to the next and previous occurrence?

10条回答
  •  囚心锁ツ
    2020-12-14 06:04

    I found something thay may more suite your needs : alt + mouse-wheel up/down.
    It goes to previous / next occurrence of identifier under caret.

    Shortcut name is "Go to next highlighted element usage".

提交回复
热议问题