We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
treeView.reveal
expand: 3
1 parent 8a652f9 commit 48d4ba2Copy full SHA for 48d4ba2
src/vs/workbench/browser/parts/views/treeView.ts
@@ -885,9 +885,9 @@ abstract class AbstractTreeView extends Disposable implements ITreeView {
885
}
886
try {
887
itemOrItems = Array.isArray(itemOrItems) ? itemOrItems : [itemOrItems];
888
- await Promise.all(itemOrItems.map(element => {
889
- return tree.expand(element, false);
890
- }));
+ for (const element of itemOrItems) {
+ await tree.expand(element, false);
+ }
891
} catch (e) {
892
// The extension could have changed the tree during the reveal.
893
// Because of that, we ignore errors.
0 commit comments