ReSharper 2017.1 Help

Code Templates

ReSharper code templates let you to quickly generate predefined code constructs. There are many templates for various languages that are provided ready to use; you can create new templates, edit existing ones and easily manage them. In addition, ReSharper allows teams of developers to share their custom templates.

All aspects of ReSharper's code templates are described in detail in the following topics:

Most of ReSharper's code templates features are available in C# and Visual Basic.NET, some are available in several languages, others are language-specific. The table below lists all code templates features and languages/technologies where they are supported.

The instructions and examples given in the topics within this section address the use of code templates features in C#. For more information on code templates features available for specific languages, see the corresponding topics in the ReSharper by Language section.

C# VB.NET C++ HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts Protobuf JSON
Live/Surround Templates Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is not available Feature is not available
File Templates Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is not available Feature is available Feature is not available Feature is not available Feature is available Feature is not available Feature is not available Feature is not available Feature is not available
Multi-file templates Feature is available Feature is available Feature is available Feature is available Feature is available Feature is available Feature is not available Feature is not available Feature is not available Feature is not available Feature is available Feature is not available Feature is not available Feature is not available Feature is not available
Postfix Templates Feature is available Feature is not available Feature is available Feature is not available Feature is not available Feature is not available Feature is available Feature is available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available
Source Templates Feature is available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available Feature is not available

See Also

Last modified: 31 May 2017