Where a tree view's rows come from.
The vscode-free counterpart of vscode.TreeDataProvider: the adapter wraps one of these into the platform's shape, so a provider never imports vscode and a test can drive it directly.
vscode.TreeDataProvider
vscode
Optional
Released with the view.
The children of an element, or the roots when none is given.
The parent of an element. Required for reveal to work.
reveal
Renders one element.
Fires when a subtree (or the whole tree, for undefined) needs redrawing.
undefined
Called by the adapter when the user toggles checkboxes in the view.
Where a tree view's rows come from.
The vscode-free counterpart of
vscode.TreeDataProvider: the adapter wraps one of these into the platform's shape, so a provider never importsvscodeand a test can drive it directly.