Geeks With Blogs

News
Ontological Reciprocity Contributions to Our Influences

In R#’s option menu scroll down the Templates section and click the Live Templates node. Click on the User Templates node to see the user templates that are already created. Then click the Create Template toolbar item:

clip_image002

Type the abbreviation you want to use, a description of the template and the template text. There is a help doc to help you with the syntax and keywords of their scripting language (http://www.jetbrains.com/resharper/documentation/help20/Templates/LiveTemplates/editLive.html)

clip_image004

Now when you type the abbreviation in the code it will see your template, and by pressing Tab it will complete the code for you.

clip_image006

clip_image008

 

Posted on Monday, June 30, 2008 7:44 AM ReSharper | Back to top


Comments on this post: ReSharper Tip of the Day: Custom Live Templates

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Mark Borcherding | Powered by: GeeksWithBlogs.net