Navigate To Derived Class Or Interface

If you want to see which class inherit from a class or implement an interface, place your cursor on class / interface name and press “Ctrl + Alt + Shift + B”.

Move To Folder

This is my personal favorite feature in Resharper and especially useful if you are doing Test Driven Development. When I am writing tests, I will just generate all the code in the same test class and later when I want to refactor the test, I will move out each class to it’s appropriate library or folder. To do this place your cursor in class name and press “Ctrl + Shift + R” this will bring up the Refactoring menu, from there select “Move To Folder” option and press Enter. Enter the name of the Library or Folder that you want to place your class in and click Next. Resharper will automatically take care of adding the references of this class where it was being used 🙂

Surround With

How often do you write code that you want to surround in a try catch block or a loop? Next time you want to do that just select the code and press “Ctrl + Alt + J”. Resharper will show you a list of common code blocks that you can use, just select the one you want to use and press enter.

Move Property Up Or Down

If you want to move any property or method up or down in you file, just place the cursor in its name and press “Ctrl + Alt + Shift + Up/Down”. What I love most about this feature is that if you have Summary comments written on top of your property or method, Resharper will move them too, Yay!

Property With Backing field

Sometimes you create an auto Property and later want to convert it to property with a field, you can simply place your cursor on property name and hit “Alt + Enter”, from the list of options that you will get select “To property with backing field”.

Extract Interface

A lot of times I start with class and later extract its interface, it is extremely simple to create an interface from an existing class. Simply place your cursor over the class name and press “Ctrl + Shift + R” to bring the refactoring menu, from here select “Extract Interface” and in the dialog window that pops up, enter the name of Interface and the methods that you want to extract in it and hit Enter.

These are some of my favorite features that I use every day in Resharper, I cannot cover all of Resharper’s features in a single post, you can really write a book on them! But if you feel there is something that should be here please comment below and feel free to share with me your own Resharper tips 🙂