- Adds XML linting, schema support and formatting to Nova
- 584 Installs
This extension is allowed to:
- Read & Write Files
- Launch Subprocesses
XML Extension provides a deeper integration with XML through the use of schemas, XML validation, code completion, linting and optional document formatting. XML Extension also provides a schema for Nova's own Syntax definitions.
Work in Progress
This version of XML is a prerelease and not all functionality exists yet. Things that are still to be done are on GitHub Issues.
XML Extension runs the eclipse/lemminx XML language server as a native binary and has no external requirements.
XML Extension uses these entitlements for these purposes:
processis to run the Language Server itself
networkis to download schemas and cache them to
filesystemis to read in XML files, write formatted files and cache schemas
XML Extension runs any time you open a local project with XML files in it, automatically lints all open files, then reports errors and warnings in Nova's Issues sidebar and the editor gutter:
XML Extension intelligently suggests completions for you as you write, based on the current documents associated schema.
XML Extension displays relevant documentation when you hover over symbols:
- Format will format the current XML document.
- Rename will rename the tag you have selected.
To configure global preferences, open Extensions → Extension Library... then select XML's Preferences tab.
Schemas can be loaded relative to the XML file in question.
Nova Syntax Definitions
XML Extension uses a schema catalog to automatically register a schema for Nova Syntax definitions. You can opt into it like this:
Nova Syntax definitions improvements
- Add support for
- Allow empty
- Fix detectors so sub-elements can be re-used
- Fix the LanguageServer not starting up correctly
- Everything is new