View Source GenLSP.Requests.TextDocumentFormatting (gen_lsp v0.8.1)

A request to format a whole document.

Message Direction: clientToServer

Link to this section Summary

Link to this section Types

@type result() :: [GenLSP.Structures.TextEdit.t()] | nil
@type t() :: %GenLSP.Requests.TextDocumentFormatting{
  id: integer(),
  jsonrpc: String.t(),
  method: String.t(),
  params: GenLSP.Structures.DocumentFormattingParams.t() | nil
}