This probably isn’t possible, but it’s annoying enough to try…
For convenience sake I’d like to be able to select “Go to definition” on a property or method on a variable defined as an interface and have Visual Studio go to the concrete implementation instead of the interface. Is there an attribute or something that I can use to instruct Visual Studio what the default concrete type for an interface is?
Update
I should mention that the reason this would be nice is because we’re using dependency injection. So pretty much every object has an interface.
DXCore would certainly support the creation of a plugin to do something like this. It really is very much easier to make addins than any other method I have come across.
If you’re interested in doing this yourself the DXCore can be installed through the Free Coderush Xpress available from http://www.devexpress.com/crx
Can you elaborate on what sort of attribute you’d like to be able to place. 🙂
Seems as if the attribute might not be able to reference a type directly since that would require a circular reference. Perhaps a string giving the fully qualified “Namespace.ClassName”
I can be reached on twitter via http://twitter.com/rorybecker or email via Rory[NothingGoesHere]Becker@[gmail].[com]. If you’d prefer a more interactive conversation 🙂
I will ammend this answer as we progress 🙂 I might even build this for you. 🙂