42
loading...
This website collects cookies to deliver better user experience
<publisher>.<your-extension-name>.panel.registration
command. To register your extension, all you need to do is specify this command with a configuration like this:context.subscriptions.push(vscode.commands.registerCommand('<publisher>.<your-extension-name>.panel.registration', () => {
return {
id: '<your-extension-name>',
title: 'Extension actions',
description: 'Actions for testing purposes only.',
actions: [{
title: 'Action 1',
command: 'vscode-extension-panel.panel.test',
data: true,
type: "checkbox"
}, {
title: 'Action 2',
command: 'vscode-extension-panel.panel.test',
data: 'Just extra text',
type: "button"
}]
};
})
);
42