ReSharper Web Help

ReSharper | Templates Explorer | Live Templates | XML

XML

ReSharper provides a number of basic live template for XML, all of which are described below.

Template name Description
a

Go to top

Purpose
Creates a new tag attribute.

$ATTR$="$END$"

Before expansion

After expansion

Parameters

  • ATTR - a selected attribute.
  • END - empty value of the selected attribute.

t

Go to top

Purpose
Creates a new pair, which consists of an opening tag and a closing tag.

<$TAG$>$END$</$TAG$>

Before expansion

After expansion

Parameters

  • TAG - a selected tag pair.
  • END - empty space between the selected pair of tags available for filling with content.

tc

Go to top

Purpose
Creates a single closed tag.

<$TAG$ $END$/>

Before expansion

After expansion

Parameters

  • TAG - a selected tag.
  • END - empty space available for setting attributes.

See Also

Reference