How to add new XmlTextImpl Permanently deleted user Created February 17, 2016 02:33 I want to add a new line in xml. Now I know com.intellij.psi.PsiElement#add can do this, but how to create a new line XmlTag?
You can create XML psi element with com.intellij.psi.XmlElementFactory. Also you can use Document instead in order to manipulate with text.