Skip to content

OutputView

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

output

Lookup

import { BottomBarPanel, OutputView } from 'vscode-extension-tester';
...
const outputView = await new BottomBarPanel().openOutputView();

Text Actions

// get all text
const text = await outputView.getText();
// clear text
await outputView.clearText();

Channel Selection

// get names of all available channels
const names = await outputView.getChannelNames();
// select a channel from the drop box by name
await outputView.selectChannel("Git");