How to add new XmlTextImpl Permanently deleted user 创建于 2016年02月17日 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.