Saturday, June 28, 2008

Find Inheritor(s) Using ReSharper Keyboard Shortcuts

Ever wanted to see all of the classes that inherit from a base class or interface? ReSharper makes it easy peasy with a little help from your keyboard.

If you have an interface such as:

Interface_thumb[2]

Put your cursor on "IDoSomething" and hit "CTRL+ALT+B" ("ALT+END" if you're using the Visual Studio keymap scheme). If you have only one class that inherits from your interface/base class then it will take you directly to that file.

Implementation_thumb[5]

Multiple implementers? Use the same keyboard shortcut and then use the arrow keys to choose which implementation you want to jump to.

MultipleImplementations_thumb[2]

This is part 2 of a series of posts exploring how to become a ReSharper keyboard ninja.

Previously:
Part 1 - Quick Documentation View

0 comments: