ReSharper 8.0 Web Help

ReSharper | Templates Explorer | Surround Templates | ASP.NET | Other

ASP.net

Other

Template name Description
link

Purpose
Wraps selection with a tag.

<a href="http://$END$">$SELECTION$</a>

Before expansion

After expansion

Parameters

  • END - position of the caret after applying the template.
  • SELECTION - selected text.

tag

Purpose
Displays the list of available tags and wraps selection with a pair of tags.

<$TAG$$RUNATSERVER$$END$>$SELECTION$</$TAG$>

Before expansion

After expansion

Parameters

  • TAG - name of tag to be inserted.
  • RUNATSERVER - attribute runat that gets inserted with value server if server-side tag selected.
  • END - position of the caret after applying the template.
  • SELECTION - selected text.

See Also

Reference