My Favourite ReSharper Shortcuts

ReSharper is an awesome tool.  If you’re using it you probably agree and if you aren’t you should be.  The productivity gains are incredible.  The moment you see another developer step effortlessly through the code you’ll agree.  (If you have no idea what I’m talking about, it’s a Visual Studio plugin)

So here is the list of shortcuts I use on a daily basis.  (There are a few others I use from time to time but then I usually have to go lookup the shortcut first)

Ctrl+N – Search for a type
Ctrl+F12 – Search for a method
Ctrl+Click – Go to type
Ctrl+P – Parameter info
Ctrl+Alt+V – Extract variable
Ctrl+W – Expand selection
Ctrl+D – Duplicate line
Ctrl+Alt+D – Introduce field
Ctrl+Alt+N – Inline variable
F2 – Rename
Ctrl+Minus – Go to previous
Ctrl+Alt+B – Go to derived type

For everything else I usually hit Alt+Enter and check my options.

Bonus shortcut – I’ve configured my ReSharper to run a unit test when I hit Ctrl+R.  If you want to do something similar go to keyboard shortcuts (Tools->Options->Environment->Keyboard) and search for the ReSharper.ReSharper_UnitTest_ContextRun.  Under ‘Use new shortcut in’ select ‘Text Editor’.

Am I missing any of your favourite shortcuts?  Happy coding.