ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Create files from templates

Last modified: 21 July 2022

ReSharper | Edit | Create New File...

Alt+Ctrl+Insert (ReSharper_GenerateFileBesides)

ReSharper enables you to create classes, interfaces, structs and other files based on file templates. Once created, a new file is added to your project and opens in the editor. The file contains source code specified in the template.

This feature is supported in the following languages and technologies:

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by language section.