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);
}
});
请先登录再写评论。
So what happens when you do that?