XML Support

XML catalogs

The dev module supplies an XML Catalog for use with VSCode's XML module.

To get the path to the catalog, open a Terminal and run wh tofspath storage::dev/catalog.xml

Invoke wh dev:update to (re)generate the schema catalog file. Webhare needs to run for this.

Then go to VS Code and Open User Settings. Search for 'XML Catalogs' and add the catalog path you found above

Formatting

The XML-plugin has its own formatter, but for WebHare the formatter of the WebHare Language Plugin is preferred.

Override the used formatter by pasting the following text in the user settings: @id:editor.defaultFormatter @lang:xml formatter. Then select 'WebHare language client' in the pulldown.