Skip to content

DefaultTreeSection

Jan Richter edited this page Sep 24, 2019 · 6 revisions

section

The 'default' tree section, as used in the explorer view. For all The behaviour is defined by the general ViewSection class.

Lookup

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;
Clone this wiki locally