View Source GenLSP.Structures.TypeHierarchyItem (gen_lsp v0.8.1)

@since 3.17.0

Link to this section Summary

Functions

Fields

  • name: The name of this item.
  • kind: The kind of this item.
  • tags: Tags for this item.
  • detail: More detail for this item, e.g. the signature of a function.
  • uri: The resource identifier of this item.
  • range: The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.
  • selection_range: The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. Must be contained by the {@link TypeHierarchyItem.range range}.
  • data: A data entry field that is preserved between a type hierarchy prepare and supertypes or subtypes requests. It could also be used to identify the type hierarchy in the server, helping improve the performance on resolving supertypes and subtypes.

Link to this section Types

@type t() :: %GenLSP.Structures.TypeHierarchyItem{
  data: GenLSP.TypeAlias.LSPAny.t() | nil,
  detail: String.t() | nil,
  kind: GenLSP.Enumerations.SymbolKind.t(),
  name: String.t(),
  range: GenLSP.Structures.Range.t(),
  selection_range: GenLSP.Structures.Range.t(),
  tags: [GenLSP.Enumerations.SymbolTag.t()] | nil,
  uri: GenLSP.BaseTypes.document_uri()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.TypeHierarchyItem{}

View Source (struct)

fields

Fields

  • name: The name of this item.
  • kind: The kind of this item.
  • tags: Tags for this item.
  • detail: More detail for this item, e.g. the signature of a function.
  • uri: The resource identifier of this item.
  • range: The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.
  • selection_range: The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. Must be contained by the {@link TypeHierarchyItem.range range}.
  • data: A data entry field that is preserved between a type hierarchy prepare and supertypes or subtypes requests. It could also be used to identify the type hierarchy in the server, helping improve the performance on resolving supertypes and subtypes.