Archive for February 2nd, 2015

I’ve found this cheatsheet to be the best way to learn all the secret shortcuts in Resharper that really help to speed up development in Visual Studio and make life easier.  For months I had it pinned to my cube wall until I used them so much they’re muscle memory.

If you are coming from a JAVA background and have been using IntelliJ IDEA, use this:
http://www.jetbrains.com/resharper/docs/ReSharper90DefaultKeymap_IDEA_scheme.pdf

If you are like me and a hard core visual studio user, use this:
http://www.jetbrains.com/resharper/docs/ReSharper90DefaultKeymap_VS_scheme.pdf

If you want to change your shortcut scheme (or you aren’t sure what it’s set to), in the Visual Studio top menu go to Resharper –> Options –> Keyboard & Menus, then select “Visual Studio” or “Resharper 2.x or IntelliJ IDEA” and Apply Scheme and Save.  Then hit a shortcut like Ctrl+Shift+N and a menu pops up saying there’s a conflict in shortcuts and asks which scheme do you want to use.  Select “Visual Studio” or “Resharper 2.x or IntelliJ IDEA” and check the Apply to All.  You can switch to the other schema at any time.

layout

Here’s an image for the visual studio layout.

resharper

Visual Studio -> Debug – Start new instance shortcut

Yes, Its as simple as that.

 

Or If you want to save 5 mouse clicks every time. Continue reading…

 

Why do that? Because:
– it’s a pain in the bucket to find the console/windows/web application project in solution explorer with your mouse if you are having a tons of projects and you currently work in a library document
– you have to wait for all sorts of timeouts until the right click works due to sourcecontrol/source safe/team foundation operations
– you have to find the Debug item and Start new instance.
– sometimes in speed you might even click something else or move some project to another folder, etc.

What it does is:
– runs the start new instance of the Project selected.

How to use it?

Add in the Options dialog under Environment->Keyboard "ClassViewContextMenus.ClassViewProject.Debug.Startnewinstance" as a shortcut. This starts debugging on the current project.

Visual Studio Options Menu

Visual Studio Options Menu

Tested till visual Studio 2012. Working Fine