Closed jy95 closed 2 months ago
Hello,
https://github.com/codemirror/lang-xml has an autocomplete feature I would like to use.
Imagine I have a XML like this :
<?xml version="1.0" encoding="UTF-8"?> <kmehrmessage xmlns="http://www.ehealth.fgov.be/standards/kmehr/schema/v1" xmlns:ns2="http://www.w3.org/2001/04/xmlenc#" xmlns:ns3="http://www.w3.org/2000/09/xmldsig#"> <!-- I want autocomplete with CTRL-SPACE --> </kmehrmessage>
In VS code, I have the autocomplete thanks to vscode-xml and xml.catalogs defined like that :
xml.catalogs
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <uri name="http://www.ehealth.fgov.be/standards/kmehr/schema/v1" uri="./xsd-kmehr/ehealth-kmehr/XSD/kmehr_elements-1_37.xsd" /> </catalog>
XSD and its nested includes can be download on a website - Direct link to the one used in my example
In Codemirror, it isn't clear how to achieve that. Is a feature that will be added in the future ? Or anything else ?
Thanks in advance
No response
No, this indeed isn't supported, and there are no plans to work on something like that at the moment.
Describe the issue
Hello,
https://github.com/codemirror/lang-xml has an autocomplete feature I would like to use.
Imagine I have a XML like this :
In VS code, I have the autocomplete thanks to vscode-xml and
xml.catalogs
defined like that :XSD and its nested includes can be download on a website - Direct link to the one used in my example
In Codemirror, it isn't clear how to achieve that. Is a feature that will be added in the future ? Or anything else ?
Thanks in advance
Browser and platform
No response
Reproduction link
No response