package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.4.1.tbz
sha256=cee8371e7048e24c90e916c373ef6f3aba6f474d8a5fcf507ab6650fd8575eeb
sha512=150ebf71d3484d3beec1a145877cf30d84581bd072dd20159e878ed07cc4fc647b019b98bb0c9fede839b87f7bd13de4a64b534c0760a2ec57d0e4a4deac6f0f

doc/lsp.stdune/Stdune/Console/index.html

Module Stdune.ConsoleSource

Manages the console

The console is a system than can report messages and a status to the user. It is usually the terminal the application is connected to, however it could be something else. This module allow to set a global backend for the application as well as composing backends.

Sourcemodule Backend : sig ... end

The main backend for the application

include Backend.S
Sourceval print_user_message : User_message.t -> unit

Format and print a user message to the console

Sourceval set_status_line : User_message.Style.t Pp.t option -> unit

Change the status line

Sourceval reset : unit -> unit

Reset the log output

Sourceval print : User_message.Style.t Pp.t list -> unit

print paragraphs is a short-hand for:

 print_user_message (User_message.make paragraphs) 
Sourcemodule Status_line : sig ... end

This module allows to buffer status updates so that they don't slow down the application

OCaml

Innovation. Community. Security.