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

A request to resolve project-wide references for the symbol denoted by the given text document position. The request's parameter is of type {@link ReferenceParams} the response is of type {@link Location Location[]} or a Thenable that resolves to such.

Message Direction: clientToServer

Link to this section Summary

Link to this section Types

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