From several Youtrack entries (e.g.http://youtrack.jetbrains.com/issue/IDEA-89032) it appears that IntelliJ has an intention for replacing xml tags with empty body with a "bodyless" tag (e.g. <foo></foo> with <foo/>). If this intention indeed exists, I can't seem to find a place to enable it (using v 12.1.5) - all I find is the "reverse" intention ("Expand Empty Tag").
I am using Emmet expansion quite heavily in xhtml files and get plenty of tags with empty bodies that are all marked by the inspection "Xml Tag Has Empty Body", but I don't get any suggestion to "collapse" the tags.
Can anybody point me to where this can be enbled?