Skip to content

treeView.reveal with expand: 3 only expands the first level 3 folder #181889

@david-tejada

Description

@david-tejada
  • VS Code Version: 1.79.0-insider
  • OS Version: macOS 12.6.3

I am working on a file explorer tree view extension and treeView.reveal doesn't work properly if expand is 2 or 3. When expand is 3 only the first level 3 folder expands. I have checked and getChildren doesn't get called for the rest of the level 3 folders. If I call reveal again with expand: 3 the rest of the level 3 folders expand.

When I use treeView.reveal with expand 2 or 3 on a large folder (hundreds of items) the promise never fulfills even though the folder expands (at least up to level 2).

I don't get any error in any of the two cases.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insiderstree-viewsExtension tree view issuesverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions