ReSharper 2021.1 Help

Predefined File Templates

ReSharper | Tools | Templates Explorer | File Templates

This topic lists all predefined File templates in ReSharper 2021.1.

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

TemplateDescription
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.
Test FixtureTest Fixture
Razor MVC Partial ViewRazor MVC Partial View
Razor MVC ViewRazor MVC View
Razor MVC View with LayoutRazor 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.
XAML
Resource DictionaryResource Dictionary
TypeScript
TypeScript ClassTypeScript Class
TypeScript Empty FileTypeScript Empty File
TSX Empty FileTSX Empty File
TypeScript InterfaceTypeScript Interface
TypeScript ModuleTypeScript Module
ASP.NET (C#)
Web form without master pageWeb form without master page
Web form with master pageWeb form with master page
Master page without base master pageMaster page without base master page
Master page with base master pageMaster page with base master page
Web controlWeb control
MVC View Page with master pageMVC View Page with master page
MVC View Page without master pageMVC View Page without master page
MVC View UserControlMVC View UserControl
ASP.NET (VB)
Web form without master pageWeb form without master page
Web form with master pageWeb form with master page
Master page without base master pageMaster page without base master page
Master page with base master pageMaster page with base master page
Web controlWeb control
MVC View Page with master pageMVC View Page with master page
MVC View Page without master pageMVC View Page without master page
MVC View UserControlMVC View UserControl
Razor (C#)
Razor MVC Partial ViewRazor MVC Partial View
Razor MVC ViewRazor MVC View
Razor MVC View with LayoutRazor 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.
Header fileHeader file
Source fileSource file
Last modified: 12 July 2021