View Source GenLSP.Structures.DocumentFormattingParams (gen_lsp v0.10.0)

The parameters of a {@link DocumentFormattingRequest}.

Link to this section Summary

Functions

Fields

  • text_document: The document to format.
  • options: The format options.
  • work_done_token: An optional token that a server can use to report work done progress.

Link to this section Types

@type t() :: %GenLSP.Structures.DocumentFormattingParams{
  options: GenLSP.Structures.FormattingOptions.t(),
  text_document: GenLSP.Structures.TextDocumentIdentifier.t(),
  work_done_token: GenLSP.TypeAlias.ProgressToken.t() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.DocumentFormattingParams{}

View Source (struct)

fields

Fields

  • text_document: The document to format.
  • options: The format options.
  • work_done_token: An optional token that a server can use to report work done progress.