IntelliJ IDEA 13.1 Web Help

Some features described here are available in Ultimate edition only.

The Split Tag intention allows you split a large XML tag into two smaller XML tags. To split tags, simply select the child tag you wish the split to occur on in the body of the tag, and invoke the intention with Alt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+Enter, Shift+Alt+J or Ctrl+Shift+MAlt EnterAlt EnterCommand 1. Then select Split Tags from the menu, and the tag will be split. Splitting a tag will create two sequential tags, both with the same name and attributes as the original tag. The contents of the first tag will be whatever comes before the selected child tag, with everything else becoming the contents of the second tag.