class RubyLsp::Requests::PrepareTypeHierarchy
The prepare type hierarchy request displays the list of ancestors (supertypes) and descendants (subtypes) for the selected type.
Currently only supports supertypes due to a limitation of the index.
Example¶ ↑
class Foo; end class Bar < Foo; end puts Bar # <-- right click on `Bar` and select "Show Type Hierarchy"
Public Class Methods
new(document, index, position)
Calls superclass method