-
Notifications
You must be signed in to change notification settings - Fork 77
DefaultTreeSection
Jan Richter edited this page Sep 24, 2019
·
6 revisions
The 'default' tree section, as used in the explorer view. For all The behaviour is defined by the general ViewSection class.
import { SideBarView } 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;