XML Refactorings
IntelliJ IDEA lets you refactor your XML code.
The XML refactoring support is based on the Refactor-X plugin. This plugin is bundled with the IDE and enabled by default.
To access XML refactoring commands, you can use the main menu or the context menu in the editor: .
The following refactorings are available:
- Delete Attribute
- Replace Attribute with Tag
- Replace Tag with Attribute
- Add Attribute
- Add Subtag
- Move Attribute in
- Move Attribute Out
- Change Attribute Value
- Convert Contents to Attribute
- Expand Tag
- Collapse Tag
- Merge Tags
- Split Tags
- Delete Tag
- Unwrap Tag
- Wrap Tag
- Wrap Tag Contents
Last modified: 23 November 2016