-
Notifications
You must be signed in to change notification settings - Fork 72
ViewContent
github-actions[bot] edited this page May 16, 2024
·
3 revisions
import { SideBarView } from 'vscode-extension-tester';
...
const contentPart = new SideBarView().getContent();
// get a section by title, case insensitive
const section = await contentPart.getSection("Open Editors");
// get all sections
const sections = await contentPart.getSections();
// look if there is an active progress bar
const hasProgress = await contentPart.hasProgress();