Skip to content

ExtensionEditorView

github-actions[bot] edited this page Oct 2, 2024 · 1 revision
ExtensionEditorView

Lookup

import { ExtensionEditorView } from 'vscode-extension-tester';
...
const extensionEditor = new ExtensionEditorView();

Get values from opened extension

You can get individual values using following functions:

await extensionEditor.getName();

await extensionEditor.getVersion();

await extensionEditor.getPublisher();

await extensionEditor.getDescription();

await extensionEditor.getCount();

Manage tabs

Tabs section can be managed by this editor as well. For work with 'Details' you can use ExtensionEditorDetailsSection.

await extensionEditor.getTabs();

await extensionEditor.switchToTab("tabname");

await extensionEditor.getActiveTab();
Clone this wiki locally