Predefined file templates
This topic lists all predefined file templates in ReSharper 2022.2.
File templates are used to create one or more new files with predefined code, such as a type declaration, unit test, and so on. File templates have no shortcuts, they are identified by their descriptions. See Create files from templates and Create multi-file templates for details.
Index of File Templates
Template | Description |
---|---|
C# | |
Create a new file containing an empty C# Class in the current project. | |
Create a new file containing an empty C# Interface in the current project. | |
Create a new file containing an empty C# Struct in the current project. | |
Create a new file in the current project containing an empty C# Enum. | |
Test Fixture | |
Razor MVC Partial View | |
Razor MVC View | |
Razor MVC View with Layout | |
VB.NET | |
Create a new file in the current project containing an empty VB.NET Class. | |
Create a new file in the current project containing an empty VB.NET Interface. | |
Create a new file in the current project containing an empty VB.NET Structure. | |
Create a new file in the current project containing an empty VB.NET Module. | |
Create a new file in the current project containing an empty VB.NET Enum. | |
XAML | |
Resource Dictionary | |
Content Page | |
Content View | |
TypeScript | |
TypeScript Class | |
TypeScript Empty File | |
TSX Empty File | |
TypeScript Interface | |
TypeScript Module | |
XAML (C#) | |
Resource Dictionary | |
Content Page | |
Content View | |
ASP.NET (C#) | |
Web form without master page | |
Web form with master page | |
Master page without base master page | |
Master page with base master page | |
Web control | |
MVC View Page with master page | |
MVC View Page without master page | |
MVC View UserControl | |
ASP.NET (VB) | |
Web form without master page | |
Web form with master page | |
Master page without base master page | |
Master page with base master page | |
Web control | |
MVC View Page with master page | |
MVC View Page without master page | |
MVC View UserControl | |
Razor (C#) | |
Razor MVC Partial View | |
Razor MVC View | |
Razor MVC View with Layout | |
C++ | |
Create new header and source files containing an empty C++ Struct in the current project. | |
Create new header and source files containing an empty C++ Class in the current project. | |
Header file | |
Source file | |
Unity | |
Assembly Definition File | |
Play Mode Test | |
Image Effect Shader | |
Asset Postprocessor | |
Scriptable Object | |
Mono Behaviour | |
State Machine Behaviour | |
Editor EntryPoint C# script | |
Property Drawer | |
Custom Editor | |
Scriptable Wizard | |
Standard Surface Shader | |
Edit Mode Test | |
Unlit Shader | |
Editor Window |