VS Code API
    Preparing search index...

    Class TypeHierarchyItem

    Represents an item of a type hierarchy, like a class or an interface.

    Index

    Constructors

    • Creates a new type hierarchy item.

      Parameters

      • kind: SymbolKind

        The kind of the item.

      • name: string

        The name of the item.

      • detail: string

        The details of the item.

      • uri: Uri

        The Uri of the item.

      • range: Range

        The whole range of the item.

      • selectionRange: Range

        The selection range of the item.

      Returns TypeHierarchyItem

    Properties

    detail?: string

    More detail for this item, e.g. the signature of a function.

    The kind of this item.

    name: string

    The name of this item.

    range: Range

    The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.

    selectionRange: Range

    The range that should be selected and revealed when this symbol is being picked, e.g. the name of a class. Must be contained by the range-property.

    tags?: readonly Deprecated[]

    Tags for this item.

    uri: Uri

    The resource identifier of this item.