Type Alias TypeHierarchyItem

TypeHierarchyItem: {
    data?: LSPAny;
    detail?: string;
    kind: SymbolKind;
    name: string;
    range: Range;
    selectionRange: Range;
    tags?: SymbolTag[];
    uri: DocumentUri;
}

Type declaration

  • Optionaldata?: LSPAny

    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.

  • Optionaldetail?: string

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

  • kind: SymbolKind

    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 function. Must be contained by the range.

  • Optionaltags?: SymbolTag[]

    Tags for this item.

  • uri: DocumentUri

    The resource identifier of this item.

3.17.0