home | software | resharper templates
Any C# developer who fears RSI (repetitive strain injury) or RBI (repetitive boredom injury) should at least try the ReSharper add-in for Visual Studio .NET. Among its many features is the ability to generate frequently used code blocks from shortcuts (live templates) -- a feature that VS2005 does, but not as well. You can also create new files from templates (er, file templates).
Best of all, you can define your own templates. I'd like to share my favourites with you here.
Right-click -> Save Link As...
Import these templates via the ReSharper options form. Here's a screenshot from ReSharper 2.5 showing live templates options. The import button is indicated by a red circle:
Similarly, here are my file templates:
Be sure to import the live templates and the file templates to the correct areas. You can set them per user, per solution, or per user/solution.
Have a template that I'm missing here? !