Skip to content

TitleBarItem

github-actions[bot] edited this page May 16, 2024 · 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