Predefined Live Templates for HTML
This topic lists all predefined live templates for HTML 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 $CTX$ Parameters
|
nguid | Insert new GUID Scope everywhere Body $GUID$ Parameters
|
<script | Create script tag Scope HTML and similar tags Body <script type="$attributeValue$">$END$</script> Parameters
|
t | Create tag Scope HTML tags, Razor tags Body <$TAG$>$END$</$TAG$> Parameters
Before expansion |
tc | Create closed tag Scope HTML tags, Razor tags Body <$TAG$ $END$/> Parameters
Before expansion |
a | Create tag attribute Scope HTML and similar attributes Body $ATTR$="$END$" Parameters
Before expansion |





