- Adds XML linting, schema support and formatting to Nova
- 3939 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:
- Tree sitter support! Added support for
- Update the language server from
0.24.0, see it's GitHub releases for info
- Build tooling updates
- Specify custom catalog files per-workspace, thanks @greystate!
Update the language server from
0.21.0, see it's GitHub releases for info
All compiled code is now Open Source, if you fancy diving in to see what Yaml Extension is up to, you can
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