Navigate from interface to implementation in Visual Studio using CodeRush

I love my Kindle

One feature of CodeRush from DevExpress which I use a lot when navigating code is the ability to navigate to a function/method/property implementation from a variable that is of an interface type. I do a lot interface programming (OK OK I get a bit interface happy) and this navigation feature rocks.

The default shortcut keys to bring up the Navigate/Jump To menu is Ctrl + Alt + N. I prefer to bind the Navigate command to Ctrl + E, as it is a bit quicker to type when your fingers are in home position on the keyboard. I show how to update the binding in the screen cast embedded with this blog post.

With the cursor on a function/property of a variable of some interface type, bring up the Jump To menu.

Visual Studio CodeRush Navigate Interface to Implementation

If you pick Implementations from the popup menu, you’ll be taken to the class implementation of the interface function/property. If multiple implementations exist, then a popup menu displaying the various choices will be displayed.

I created a screen cast to show this feature in action:

I’d suggest experimenting with the other Jump To options as well as they come in handy when navigating code.

I hope this helps!

Technical Visual Studio CodeRush August 2, 2010


Comments