interface TreeViewItem {
    accessibilityInformation?: AccessibilityInformation;
    checkboxInfo?: TreeViewItemCheckboxInfo;
    collapsibleState?: TreeViewItemCollapsibleState;
    command?: Command;
    contextValue?: string;
    description?: string | boolean;
    highlights?: [number, number][];
    icon?: string;
    iconUrl?: IconUrl;
    id: string;
    label: string;
    resourceUri?: UriComponents;
    themeIcon?: ThemeIcon;
    tooltip?: string | MarkdownString;
}

Properties

accessibilityInformation?: AccessibilityInformation
collapsibleState?: TreeViewItemCollapsibleState
command?: Command
contextValue?: string
description?: string | boolean
highlights?: [number, number][]

Label highlights given as tuples of inclusive start index and exclusive end index.

icon?: string
iconUrl?: IconUrl
id: string
label: string
resourceUri?: UriComponents
themeIcon?: ThemeIcon
tooltip?: string | MarkdownString