Skip to content

dhuebner/lsp4xml

 
 

Repository files navigation

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:

About

XML Language Server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 74.9%
  • JavaScript 25.0%
  • HTML 0.1%