The lsp4xml is a XML language specific implementation of the Language Server Protocol and can be used with any editor that supports the protocol, to offer good support for the XML Language. The server is based on:
- Eclipse LSP4J, the Java binding for the Language Server Protocol.
- Xerces to manage XML Schema validation, completion and hover
- textDocument/documentSymbol.
- textDocument/documentHighlight.
- textDocument/completion.
- textDocument/hover.
- textDocument/rename.
- textDocument/foldingRanges.
- textDocument/codeAction.
See screenshots in the wiki
The XML Language Server is extensible with plugin kind (with SPI). Here existings extensions:
- content model to provide completion, validation, hover based on XML Schema.
- emmet to provide completion based on Emmet.
Here client which consumes this XML Language Server:
- Eclipse with lsp4e-xml
- VSCode with vscode-xml