IntelliJ navigate to next and previous highlighted variable

后端 未结 10 2279
野的像风
野的像风 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 05:59

    I usually do the following:

    1. Highlight the word
    2. Cmd + F (it will highlight all the matches in file)
    3. Cmd + G (next match)
    4. Cmd + Shift + G (previous match)

提交回复
热议问题