-
Notifications
You must be signed in to change notification settings - Fork 73
DefaultTreeSection
github-actions[bot] edited this page Apr 23, 2024
·
5 revisions
The 'default' tree section, as used in the explorer view. All The behavior is defined by the general ViewSection class.
import { SideBarView, DefaultTreeSection } from 'vscode-extension-tester';
...
// Type is inferred automatically, the type cast here is used to be more explicit
const section = await new SideBarView().getContent().getSection('workspace') as DefaultTreeSection;