OptionalcheckboxCheckbox state, for a view that shows checkboxes.
Toggling in the UI is reported through
BaseTreeDataProvider.onDidChangeCheckboxState, which the host wires
up for any view declared with module.treeViews.add.
OptionalcollapsibleCollapsible state.
OptionalcommandCommand to execute on click.
OptionalcontextContext value for when clauses.
OptionaldataCustom data.
OptionaldescriptionSecondary label.
OptionaliconIcon. A bare string is a theme icon id, which covers almost every case:
icon: 'folder'.
Unique identifier. Must be unique across the entire tree, not just among siblings; providers use it as a cache/index key and do not repair duplicates.
Display label.
OptionalresourceThe resource this item represents. Setting this enables file-icon-theme
icons (when icon is unset) and built-in file commands such as
"Copy Path" in the item's context menu.
OptionaltooltipTooltip text.
Data for a tree item.