Skip to content

ViewContent

github-actions[bot] edited this page May 16, 2024 · 3 revisions

contentPart

Lookup

import { SideBarView } from 'vscode-extension-tester';
...
const contentPart = new SideBarView().getContent();

Get Sections

// get a section by title, case insensitive
const section = await contentPart.getSection("Open Editors");
// get all sections
const sections = await contentPart.getSections();

Progress Bar

// look if there is an active progress bar
const hasProgress = await contentPart.hasProgress();
Clone this wiki locally