Skip to content

TitleBarItem

Jan Richter edited this page Apr 24, 2019 · 3 revisions

titleBarItem

Lookup

import { TitleBar } from 'vscode-extension-tester';

// get an item from the title bar
const item = await new TitleBar().getItem('File');

Select the Item

const contextMenu = item.select();

The rest of the functionality is exactly the same as other menu items, like ContextMenuItem.

Clone this wiki locally