How do I jump to next reference in Resharper? [closed]
Asked Answered
P

1

5

When I tried out CodeRush from DevExpress, there was this awesome feature called Tab to next reference.

Is there similar feature in Resharper? I'm using Shift+Alt+F12 to bring up "Uses of" context menu, which is good but slower to work with.

Edit: I asked because google search turned up nothing. Now this question is spot 5 for googling Resharper jump to next reference.

Pectase answered 6/1, 2013 at 11:12 Comment(2)
I think this is a reasonable question about a well know tool used by thousands of developers. No reason to close as too localized or not a real questionBradford
agree, good question. For me - I didn't knew about fixing variable usages in R# and then navigating through it with selected one.Plunkett
P
8

You can use

Ctrl+Shift+Down(Up) - IDEA Shortcut Scheme

Ctrl+Alt+PgDn(PgUp) - Visual Studio Scheme

Also bring short menu of all usages

Ctrl+Alt+F7- IDEA Scheme

Shift+Alt+F12- Visual Studio Scheme

Also

Ctrl+Shift+F7

to highlight usages even if cursor has gone away. In screenshot I have fixed _ninjectKernel and put cursor to module variable. Navigation between usages of _ninjectKernel and module is done by Ctrl+Alt+PgUp (or Up for IDEA scheme )

enter image description here

Plunkett answered 6/1, 2013 at 11:27 Comment(2)
:-( Unfortunately this only navigates between references in the same file where CodeRush's Tab will navigate through the references solution wide.Indefeasible
I loved CodeRush you could simply Tab to next occurrence. I find it hard to believe this is not available in either Visual Studio or ReSharper.Brimful

© 2022 - 2024 — McMap. All rights reserved.