mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Adopt new tree in custom views (#76407)
Auto expand initial state of tree nodes is not yet implemented. Part of #63566
This commit is contained in:
@@ -81,7 +81,10 @@ export class MainThreadTreeViews extends Disposable implements MainThreadTreeVie
|
||||
await treeView.refresh();
|
||||
}
|
||||
for (const parent of parentChain) {
|
||||
await treeView.expand(parent);
|
||||
const parentItem = dataProvider.getItem(parent.handle);
|
||||
if (parentItem) {
|
||||
await treeView.expand(parentItem);
|
||||
}
|
||||
}
|
||||
const item = dataProvider.getItem(itemIn.handle);
|
||||
if (item) {
|
||||
|
||||
Reference in New Issue
Block a user