@hackage / lsp

Haskell library for the Microsoft Language Server Protocol

Latest2.8.0.0

About

Metadata

  • Last updated , by hls_team
  • License MIT
  • Categories Development
  • Maintained by: alan.zimm@gmail.com

  • Lottery factor: 4

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    demo (off by default)

    Build the demo executables

Readme

lsp

lsp is a library for building language servers, handling:

  • JSON-RPC transport
  • Keeping track of the document state in memory with the Virtual File System (VFS)
  • Responding to notifications and requests via handlers
  • Setting the server capabilities in the initialize request based on registered handlers
  • Dynamic registration of capabilities
  • Cancellable requests and progress notifications
  • Publishing and flushing of diagnostics

It is part of the lsp family of packages, along with lsp-test and lsp-types

For more information, check https://github.com/haskell/lsp/blob/master/README.md