Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Go To Definition" equivilent shortcut for interface implementations? [duplicate]

Possible Duplicate:
How do you quickly find the implementation(s) of an interface's method?
Go to definition on concrete type

Coding to interfaces is great until you want to quickly jump to a function implementation.

In the good ole days, F12 (Go to Definition) would take you straight there, but of course now it just takes you to the interface definition, not the implementation.

I appreciate that there could be multiple implementations, but is there a quicker way than manually finding the file, or Ctrl-Shift-F to search for all references, even though that includes every call too. "Find All References" gives the same result.

Just wondered if anyone had a handy method / macro?

like image 394
GazTheDestroyer Avatar asked Oct 30 '25 07:10

GazTheDestroyer


1 Answers

Use ReSharper. It's Ctrl+F12 there. You'll be surprised how powerful it is...

By the way, it is called "Go to Implementation" in contrast to "Go to Declaration".

like image 133
Stefan Steinegger Avatar answered Oct 31 '25 21:10

Stefan Steinegger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!