ZCML Language Configuration and Formatter for VSCodeZCML is an XML extension used by Zope applications to configure themselves. Its used extensively in Plone. But formatting ZCML is hard in VSCode, and I have never been satisfied by existing formatters. To solve that Alessandro Pisa created zpretty a very opinionated ZCML formatter. This extension integrates zpretty into VSCode to format your ZCMLs. The code of this addon is based on VSCode Custom Local Formatters, I have also extracted the XML language definition and grammar from VSCode itself and use them to create the ZCML language in VSCode. The extension provides to configuration settings (with sane defaults), to provide the absolute path of your zpretty executable and the options passed to it. If you have any questions or want to provide some feedback, add a GitHub Issue |