Wednesday, June 10, 2009

Resharper: Add New Files Quickly

If you’re adding a class, interface, struct, enum, or new folder to your project, then you can use a feature of ReSharper to add that file much quicker than using the menu commands in Visual Studio.

How do you use this simple shortcut?  Select the node that you want your item to be created in in the solution explorer, and type ALT+Insert. 

InsertFile

Previous ReSharper keyboard shortcut tips:

Part 6 - Move Extracted Interfaces to Their Own File using ReSharper
Part 5 - Find the Next Error Using ReSharper
Part 4 - What To Pass?
Part 3 - Surround Your Code
Part 2 - Find Inheritors
Part 1 - Quick Documentation View

1 comments:

Jon Kruger said...

You can add your own templates to that dropdown too... I have like 9 things in mine now.