Code Templates

ReSharper templates provide various ways to quickly generate predefined code constructs. Many templates are provided ready to be used; also you can create new templates and easily manage them. In addition, ReSharper offers a way for teams of developers to share the templates they create.

Please refer to the corresponding topics:

Live Templates represent predefined code fragments that can be quickly inserted into your code. Each is identified by a unique abbreviation that you type in the editor and immediately expand into code.

'Surround With' Templates let you enclose an arbitrary block of code with a predefined code construction.

File Templates are used to create new files complete with predefined code, such as a class or interface declaration.

Editing Code Templates  particularly explains how to edit template code.