Predefined Live Templates for Razor
ReSharper | Templates Explorer | Live Templates | Razor
This topic lists all predefined live templates for Razor in ReSharper 2021.1. For more information about live templates, see Create Source Code Using Live Templates
Template | Details |
---|---|
ctx | Current file context Scope everywhere Body
Parameters
|
nguid | Insert new GUID Scope everywhere Body
Parameters
|
<script | Create script tag Scope HTML and similar tags Body
Parameters
|
t | Create tag Scope HTML tags, Razor tags Body
Parameters
|
tc | Create closed tag Scope HTML tags, Razor tags Body
Parameters
|
a | Create tag attribute Scope HTML and similar attributes Body
Parameters
|
@inherits | Razor inherits directive Scope Razor CSharp tags Body
Parameters
|
@model | Razor model directive Scope Razor CSharp tags Body
Parameters
|
@section | Razor section Scope Razor CSharp tags Body
Parameters
|