What is proper way to edit xml tag?
What is proper way to use com.intellij.psi.xml.XmlTag.setAttribute()?
This does not work for me
ApplicationManager.getApplication().runWriteAction(new Runnable() {
@Override
public void run() {
xmlTag.setAttribute(key, value);
}
});
Please sign in to leave a comment.
So what happens when you do that?