XML DOM API - Tag Completion
Hello,
I thought I would try to create a plugin for an XML like language using the XML DOM API. I created classes extending DomElement with @SubTag, @SubTagList and @Attribute annotations. I thought that using the DOM API would automatically add tag completion as well as attribute completion. The plugin does not mark any bad tags or attributes. I was wondering what I need to do to enable completion to work. I could not gather from the plugins cited at the end of the DOM API page anything about completion.
I even tried to write my own DTD so I could use the DOM API generator, but no files where generated, and no error was produced, it simply did not do anything. I have never created a DTD file, so it might not have been done properly.
I am not really sure what to do now, or where to look. Any thoughts or advice?
Please sign in to leave a comment.
So I was trying to run the DOM API as its own file type, and nothing was working there, but I decided to create just an XML file with the root tag of my files, and it began to generate this error whenever I tried to edit text within tag.
Also, as an example of the elements I created. This is the root element:
*MjmlDomElement simply extends DomElement with a name strategy annotation