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

Request to resolve a {@link DocumentHighlight} for a given text document position. The request's parameter is of type [TextDocumentPosition] (#TextDocumentPosition) the request response is of type [DocumentHighlight[]] (#DocumentHighlight) or a Thenable that resolves to such.

Message Direction: clientToServer

Link to this section Summary

Link to this section Types

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