Predefined Live Templates for ASP.NET
This topic lists all predefined live templates for ASP.NET in JetBrains Rider 2023.2. For more information about live templates, refer to Create source code using live templates.
Template | Details |
---|---|
| Current file context Scope Everywhere Body $CTX$ Parameters
|
| Insert new GUID Scope Everywhere Body $GUID$ Parameters
|
| Create script tag Scope HTML and similar tags Body <script type="$attributeValue$">$END$</script> Parameters
|
| Create ASP.NET tag Scope ASP.NET tags Body <$TAG$ $RUNATSERVER$>$END$</$TAG$> Parameters
Before expansion After expansion |
| Create closed tag Scope ASP.NET tags Body <$TAG$ $RUNATSERVER$$END$/> Parameters
Before expansion After expansion |
| Create tag attribute Scope HTML and similar attributes Body $ATTR$="$END$" Parameters
|
| ASP.NET Hyperlink Scope ASP.NET tags Body <asp:HyperLink runat="server" NavigateUrl="$LINK$" Text="$TEXT$" /> Parameters
|
| foreach block Scope ASP.NET tags Body <% foreach ($TYPE$ $VARIABLE$ in $COLLECTION$) { %>
$SELECTION$
$END$<%}%> Parameters
|