View Source GenLSP.Requests.TextDocumentFoldingRange (gen_lsp v0.10.0)

A request to provide folding ranges in a document. The request's parameter is of type {@link FoldingRangeParams}, the response is of type {@link FoldingRangeList} or a Thenable that resolves to such.

Message Direction: clientToServer

Link to this section Summary

Link to this section Types

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