New VS option "Go To Definition Implementation"
VS offers an option “Go to Definition” when you want to see a function definition; however, if your object is implementing an interface this option takes to that particular interface and you are forced to look for the object that implements this particular method. I propose a new option called “Go to Definition Implementation” which would take you to the object that implements that particular interface.
Visual Studio 2015 users can try "Go To Implementation" extension: https://visualstudiogallery.msdn.microsoft.com/0ed93222-83cd-4db3-92bc-a78909047156
This makes a better world!
This would be awsome!!
If you are using Visual Studio 2015, here's a prototype extension: https://visualstudiogallery.msdn.microsoft.com/e748712f-88eb-454d-a35c-a7c20682cbe4.
Herman Tho commented
Why VS Team not implement "Go To Implementation"?
Yes! If there are multiple objects that implement the interface it should provide them in a list similar to the Ctrl-comma shortcut
Fredrik Blixth commented
This would be so great! Pretty much the only feature i frequently use with ReSharper.
A while ago this idea was floating around an MSDN blogs. Here is the relevant part of the discussion:
"By the way, I submitted the "Go To Implementation" idea to the team that owns this feature and here is the reply:
"On the Go To Implementation feature, you are right – it would be a super cool feature to have! Have you heard of the Roslyn project? The C#/ VB Languages team is working on a vNext project called Roslyn which enables exactly the capabilities such as Go To Implementation. We will certainly consider adding this feature. I will pass on your feedback to the languages team."
So what is the status of this now? Please give us an update!
Shawn Hubbard commented
I continue to be amazed that for all the good ideas in the IDE, this still has not been implemented. Especially with the rise of IoC, this has to happen. Here's hoping for 2014!
Steve Smith commented
This would be great; it's one of the most-used features of JustCode and ReSharper today, I think.
Giles Middleton commented
Anything to find where interfaces are implemented quickly is useful. 3rd party tools can help with this but it seems something native would be better. Speed is an issue - working with a legacy code base of 2 million lines of code and 50 projects with tens of thousands of .cs files. Please make sure you test that.
must have feature!!!
Agreed. Surely this should be a standard piece of functionality with the growing use of Inversion of Control?
Michael Paterson commented
This is very much needed and should be fairly straightforward to implement. When multiple implementations exist, it should show a dialog with all available implementation options, much like IntelliJ does today for Java.