/lsp4xml

XML Language Server

Primary LanguageJavaEclipse Public License 2.0EPL-2.0

XML Language Server (lsp4xml)

Build Status

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

Features

See screenshots in the wiki.

See the changelog for the latest release.

Extension

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.

Demo

XML Language Server Demo

Get started

  • Clone this repository
  • Open the folder in your terminal / command line
  • Run ./mvnw clean verify (OSX, Linux) or mvnw.cmd clean verify (Windows)
  • After successful compilation you can find the resulting org.eclipse.lsp4xml-all.jar in the folder org.eclipse.lsp4xml/target

Clients

Here client which consumes this XML Language Server: