Function: eglot-show-type-hierarchy

eglot-show-type-hierarchy is an interactive and byte-compiled function defined in eglot.el.gz.

Signature

(eglot-show-type-hierarchy DIRECTION)

Documentation

Show type hierarchy for symbol at point.

DIRECTION can be:
  - derived for supertypes;
  - base for subtypes;
or t, the default, to consider both. Interactively with a prefix argument, prompt for DIRECTION.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(eglot--define-hierarchy-command
 eglot-show-type-hierarchy
 "type"
 :typeHierarchyProvider
 :textDocument/prepareTypeHierarchy
 ((:typeHierarchy/supertypes " ↑ " derived "supertypes" "derives from")
  (:typeHierarchy/subtypes " ↓ " base "subtypes" "base of")))