-
Notifications
You must be signed in to change notification settings - Fork 77
CustomTreeSection
Jan Richter edited this page Sep 24, 2019
·
6 revisions
The 'custom' tree section, usually contributed by extensions as TreeView. All The behaviour is defined by the general ViewSection class.
import { SideBarView, CustomTreeSection } 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('servers') as CustomTreeSection;