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

A request to result a TypeHierarchyItem in a document at a given position. Can be used as an input to a subtypes or supertypes type hierarchy.

@since 3.17.0

Message Direction: clientToServer

Link to this section Summary

Link to this section Types

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