Predefined file templates
This topic lists all predefined file templates in ReSharper 2024.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. For more information, refer to Create files from templates and Create multi-file templates.
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. | |
MSTest Test Class | |
NUnit 3x Test Fixture | |
NUnit 2x Test Fixture | |
xUnit Test Class | |
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. | |
MSTest Test Class | |
NUnit 3x Test Fixture | |
NUnit 2x Test Fixture | |
xUnit Test Class | |
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 | |
Test | |
MSTest Test Class | |
NUnit 3x Test Fixture | |
NUnit 2x Test Fixture | |
xUnit Test Class | |
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. | |
Module interface unit | |
Header file | |
Source file | |
Unreal Engine | |
Complex Test | |
Simple Test | |
Unity | |
Assembly Definition File | |
Play Mode Test | |
Image Effect Shader | |
Asset Postprocessor | |
Scriptable Object | |
Mono Behaviour | |
Editor Window | |
State Machine Behaviour | |
Editor EntryPoint C# script | |
Property Drawer (IMGUI) | |
Custom Editor (IMGUI) | |
Scriptable Wizard | |
Standard Surface Shader | |
Edit Mode Test | |
Custom Editor | |
Unlit Shader | |
Editor Window (IMGUI) | |
Authoring Mono Behaviour | |
Property Drawer |