ReSharper’s “hidden” gem – live templates.

I’m sure many of you, even those who use ReSharper on a daily basis, almost never use one of its most powerful features – live templates.

I just love how with single shortcut (ctrl + alt + insert) I can go to

reshareper_templates_step_one

enter, I go to

reshareper_templates_step_two

Type class name, enter

reshareper_templates_step_two

and I have just saved roughly 30s as compared to bare Visual Studio, but most importantly, I didn’t loose my momentum and focus. Sure it’s a small thing, but that’s how you build a palace – brick by brick.

Comments

Mario Noack says:

You’re using a nice color scheme in VS. Can you export it and publish?
Best regards, Mario

Igor Brejc says:

Is the ctrl + alt + insert shortcut your own custom-defined? My Resharper only reacts to alt + insert ("Generate").

Igor,

I think it’s new in ReSharper 5