ReSharper 2024.2 Help

Predefined file templates

ReSharper | Tools | Templates Explorer | 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#

Class

Create a new file containing an empty C# Class in the current project.

Interface

Create a new file containing an empty C# Interface in the current project.

Struct

Create a new file containing an empty C# Struct in the current project.

Enum

Create a new file in the current project containing an empty C# Enum.

Record

MSTest Test Class

MSTest Test Class

NUnit 3x Test Fixture

NUnit 3x Test Fixture

NUnit 2x Test Fixture

NUnit 2x Test Fixture

xUnit Test Class

xUnit Test Class

Razor MVC Partial View

Razor MVC Partial View

Razor MVC View

Razor MVC View

Razor MVC View with Layout

Razor MVC View with Layout

VB.NET

Class

Create a new file in the current project containing an empty VB.NET Class.

Interface

Create a new file in the current project containing an empty VB.NET Interface.

Structure

Create a new file in the current project containing an empty VB.NET Structure.

Module

Create a new file in the current project containing an empty VB.NET Module.

Enum

Create a new file in the current project containing an empty VB.NET Enum.

MSTest Test Class

MSTest Test Class

NUnit 3x Test Fixture

NUnit 3x Test Fixture

NUnit 2x Test Fixture

NUnit 2x Test Fixture

xUnit Test Class

xUnit Test Class

XAML

Resource Dictionary

Resource Dictionary

Content Page

Content Page

Content View

Content View

TypeScript

TypeScript Class

TypeScript Class

TypeScript Empty File

TypeScript Empty File

TSX Empty File

TSX Empty File

TypeScript Interface

TypeScript Interface

TypeScript Module

TypeScript Module

XAML (C#)

Resource Dictionary

Resource Dictionary

Content Page

Content Page

Content View

Content View

Test

MSTest Test Class

MSTest Test Class

NUnit 3x Test Fixture

NUnit 3x Test Fixture

NUnit 2x Test Fixture

NUnit 2x Test Fixture

xUnit Test Class

xUnit Test Class

ASP.NET (C#)

Web form without master page

Web form without master page

Web form with master page

Web form with master page

Master page without base master page

Master page without base master page

Master page with base master page

Master page with base master page

Web control

Web control

MVC View Page with master page

MVC View Page with master page

MVC View Page without master page

MVC View Page without master page

MVC View UserControl

MVC View UserControl

ASP.NET (VB)

Web form without master page

Web form without master page

Web form with master page

Web form with master page

Master page without base master page

Master page without base master page

Master page with base master page

Master page with base master page

Web control

Web control

MVC View Page with master page

MVC View Page with master page

MVC View Page without master page

MVC View Page without master page

MVC View UserControl

MVC View UserControl

Razor (C#)

Razor MVC Partial View

Razor MVC Partial View

Razor MVC View

Razor MVC View

Razor MVC View with Layout

Razor MVC View with Layout

Controller

Component

Page

C++

Struct

Create new header and source files containing an empty C++ Struct in the current project.

Class

Create new header and source files containing an empty C++ Class in the current project.

Module interface unit

Module interface unit

Header file

Header file

Source file

Source file

Unreal Engine

Complex Test

Complex Test

Simple Test

Simple Test

Unity

IComponentData

Assembly Definition File

Assembly Definition File

Play Mode Test

Play Mode Test

IJobEntity

Image Effect Shader

Image Effect Shader

Asset Postprocessor

Asset Postprocessor

Scriptable Object

Scriptable Object

Mono Behaviour

Mono Behaviour

Editor Window

Editor Window

State Machine Behaviour

State Machine Behaviour

Editor EntryPoint C# script

Editor EntryPoint C# script

Property Drawer (IMGUI)

Property Drawer (IMGUI)

Custom Editor (IMGUI)

Custom Editor (IMGUI)

ISystem

Scriptable Wizard

Scriptable Wizard

Standard Surface Shader

Standard Surface Shader

Edit Mode Test

Edit Mode Test

Custom Editor

Custom Editor

Unlit Shader

Unlit Shader

IAspect

Editor Window (IMGUI)

Editor Window (IMGUI)

SystemBase

Authoring Mono Behaviour

Authoring Mono Behaviour

Property Drawer

Property Drawer

Last modified: 18 August 2024