-
Notifications
You must be signed in to change notification settings - Fork 73
ExtensionEditorView
github-actions[bot] edited this page Jan 7, 2025
·
2 revisions
import { ExtensionEditorView } from 'vscode-extension-tester';
...
const extensionEditor = new ExtensionEditorView();
You can get individual values using following functions:
await extensionEditor.getName();
await extensionEditor.getVersion(); // For VS Code 1.96+ it is required to use 'extensionEditorDetailsSection.getVersion()' instead
await extensionEditor.getPublisher();
await extensionEditor.getDescription();
await extensionEditor.getCount();
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();