ReSharper Web Help

ReSharper | Live Templates | Live Templates | Predefined 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
a (before)
After expansion
a (after)

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
t (before)
After expansion
t (after)

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
tc (before)
After expansion
tc (after)

Parameters

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

See Also

Reference