complete Tag attribute in runtime Follow
I want the attribute "someAtt" will be resoved from the class Foo and show in complete dialog ,after type class name "Foo" or click "Control+Space"
here is Foo.java
public void setSomeAtt(String value)
public void setSomeAtt2(String value)
I have already created an interface FooTag extends CommonDomModelElement, which method or interface should I implement ?
Please sign in to leave a comment.
If I understand you correctly, the possible attributes to complete in XML are dependent on the value of attribute "class"? Then have a look at DomExtender, you can find an example of usage in org.jetbrains.android.dom.AndroidDomExtender