Work in progress.
Language server for XML documents. It enables and LSP client (VScode, Sublime LSP, Eclipse Che) to leverage capabilities such as autocomplete, validation or documentation support for XML documents.
- XML Validations
- XSD
- DTD
- Autocomplete
- XSD
- DTD
- Documentation
- XSD
- DTD
Language server is the server part of Language Server Protocol (LSP).
As per official documentation,
The Language Server protocol is used between a tool (the client) and a language smartness provider (the server) to integrate features like auto complete, go to definition, find all references and alike into the tool.
We use XML documents, configs extensively for our day to day work, and simple config typo of elements or attributes
breaks our head for hours. Intellij
was already supporting features for XML such as validation, autocomplete,
documentation (using annotations from xsd), but text editors like vscode
or sublime
doesn't have support for XML.
It's an attempt to make editors smart for XML documents.
Currently the implementation of language server for XML is done in Java. I couldn't find a mature and apt
library for XML manipulations in other languages. Becuase of the nature of Java previous to Java 9
the users
of this server (language client) needs to have java
installed in their system.
- Requirements:
- Java 8
- Maven 3.5+
mvn clean package # To generate jar file locally
mvn clean install # To install artifact in local repository