Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Next Occurrence of highlighted identifier?

$
0
0

When I've got the cursor on an identifier (let's say a variable, for now, but the same question holds for any identifier), I can hit Find Usages and then use Prev/Next Occurrence to move from usage to usage.  That's nice, but requires an extra keystroke (Alt-F7 in my case, for Find Usages).  The usages in the current file are already highlighted for me without hitting Find Usages, so is there any way to just jump to the previous or next Occurrence (i.e. the prev/next highlighted occurrence) without having to go through Find Usages first?

 

I like how Prev/Next Occurrence are always the same buttons/keystrokes in any window, and apply to the things in that window.  So I expected this to be what they meant in the editor window: go to the prev/next occurrence of the thing the cursor is on, and I am surprised that they don't work that way.  Or maybe they do, and I'm just doing something wrong?

 

Rob


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>