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

A request to resolve the type definition locations of a symbol at a given text document position. The request's parameter is of type [TextDocumentPositionParams] (#TextDocumentPositionParams) the response is of type {@link Declaration} or a typed array of {@link DeclarationLink} or a Thenable that resolves to such.

Message Direction: clientToServer

Link to this section Summary

Link to this section Types

@type t() :: %GenLSP.Requests.TextDocumentDeclaration{
  id: integer(),
  jsonrpc: String.t(),
  method: String.t(),
  params: GenLSP.Structures.DeclarationParams.t() | nil
}