IDEA-89857 automatically adds required attributes in dom-based xml; insert correct endings for View/ViewGroup tags
use fileEditor's editor instead of some random editor from dataContext