package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.3.0.tbz
sha256=598e27258e4749b6e2511e2c5efe00d16f0965806296e808d202cd614d655fba
sha512=febe80f8a88fac7683cafbd045dceee4869beda1f250b78a1d94d3ad19e746388d24869e805abcb2f33f93687508d65db19a38424c1059670915c050b4f6dbb9

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.