Skip to content

DefaultTreeSection

github-actions[bot] edited this page Apr 23, 2024 · 5 revisions

section

The 'default' tree section, as used in the explorer view. All The behavior is defined by the general ViewSection class.

Lookup

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;