ReSharper 8.0 Web Help

ReSharper | Templates Explorer | Live Templates | HTML-Like

HTML-like

ReSharper provides two templates from global scope and several templates for HTML-like languages that are described below.

Template name Description
<a

Go to top

Purpose
Inserts HTML hyperlink.

<a href="$LINK$">$TEXT$</a>

Before expansion

After expansion

Parameters

  • LINK - hyperlink.
  • TEXT - text caption.

<script

Go to top

Purpose
Inserts <script> tag that defines a client-side script.

<script type="$attributeValue$">$END$</script>

Before expansion

After expansion

Parameters

  • attributeValue - value of attribute.
  • END - position of the caret after applying the template.

a

Go to top

Purpose
Displays the list of attributes. The list is determined based on attributes previously used in the same kind of tag.

$ATTR$="$END$"

Before expansion

After expansion

Parameters

  • ATTR - name of the attribute to be inserted.
  • END - position of the caret after applying the template.