ReSharper 2016.2 Help

Context Actions for XML

ReSharper | Options | Code Editing | XML | Context Actions

By selecting or clearing check boxes in this page, you can compile the list of available Context Actions. When you select a specific context action, you can read its description in the bottom of the page.

ReSharper provides the following context actions for XML:

NameDescription
Add module qualification Adds or updates module qualification for the type reference.
Collapse empty tag Converts from empty opening and closing tags into empty tag
Convert attribute to nested element Converts tag attribute to nested element.
Convert CData to text Replaces continuous CData elements with their escaped content
Convert tag to attribute Converts nested tag to an attribute of enclosing tag.
Convert text to CData Surrounds text with CData element, unescapes text if necessary
Expand empty tag Splits empty tag to opening and closing tags
Remove all tags with specified name and promote their children Removes all the tags with specified name but keeps its children intact
Remove tag and promote its children Removes the tag but keeps its children intact
Remove tag attribute Removes the attribute from tag
Replace all attributes Replaces all attributes with the same name in the file for current tag with different name
Replace all tags Replaces all tags with the same name in the file with different tag
Replace tag Replace tag with different tag

See Also

Last modified: 15 December 2016