Register XSD from Resource folder
Answered
I'm looking for help on how to store an xsd file in my plugins resource folder and register it for a particular xmlns url. This is easy to do through the settings, but it would be great if I could allow my plugin users to have this xsd installed for them to provide autocompletion for their xml file of this xsd type.
Please sign in to leave a comment.
See com.intellij.javaee.StandardResourceEP for "static" mappings or com.intellij.xml.XmlSchemaProvider for programmatic solution
Thanks, Yann! I read through the extension point docs and got a little confused because I thought you meant I needed to create my own, but it was as simple as using the existing extension point for the static mapping in my plugin.xml
I have more schemas to load and may look into downloading them and installing them dynamically and I believe I would have to look into the other class you provided.