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

A request to provide selection ranges in a document. The request's parameter is of type {@link SelectionRangeParams}, the response is of type {@link SelectionRange SelectionRange[]} or a Thenable that resolves to such.

Message Direction: clientToServer

Link to this section Summary

Link to this section Types

@type result() :: [GenLSP.Structures.SelectionRange.t()] | nil
@type t() :: %GenLSP.Requests.TextDocumentSelectionRange{
  id: integer(),
  jsonrpc: String.t(),
  method: String.t(),
  params: GenLSP.Structures.SelectionRangeParams.t() | nil