Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Go to definition on concrete type

Tags:

.net

Is there an extension for visual studio that would allow to do Go to Definition from a method and have it navigate straight to the concrete implementation instead of interface? Most of my code is inteface based and right if i do Go to definition it goes straight to the interface which makes sense, be nice to have Go to Concrete implementation..Thankx

like image 666
user282807 Avatar asked Nov 20 '10 20:11

user282807


1 Answers

If you using resharper it offers go to implementation and if there are different implementations you can choose among different implementation.

Also in the visual studio you can use find all references, method icon is different from calls, Also you can navigate on them by F8.

And in the visual studio 2010 or later you can use "ctrl"+"," and write the name in the window that appears in this action, then select among shown candidates, in this case you allowed to write abbreviations, ....

like image 160
Saeed Amiri Avatar answered Oct 06 '22 16:10

Saeed Amiri