IntelliJ navigate to next and previous highlighted variable

后端 未结 10 2264
野的像风
野的像风 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

    Look for next occurrence @ Keymap

    ^G = "select" the variable that you want to search for

    [shift]⌘G = [previous]next occurrence of selected variable

    All credits to @Igor Wojda for his comment in the accepted answer.

提交回复
热议问题