Change xml attribute value
I need to replace the xml attribute value (in the current editor, in the specified position). Is the code below correct?
How to modify the xml attribute value through corresponding PsiElement?
Please sign in to leave a comment.
I use following code in my plugin.
((XmlAttribute) xmlAttributeValue.getParent()).setValue("");