This commit is contained in:
Jackson Kearl 2021-07-18 11:31:47 -07:00
parent 2cfd397312
commit 56cbde963b
No known key found for this signature in database
GPG key ID: DA09A59C409FC400
2 changed files with 10 additions and 0 deletions

View file

@ -1247,6 +1247,11 @@ export class GettingStartedPage extends EditorPane {
private buildCategorySlide(categoryID: string, selectedStep?: string) {
if (this.detailsScrollbar) { this.detailsScrollbar.dispose(); }
this.extensionService.whenInstalledExtensionsRegistered().then(() => {
// Remove internal extension id specifier from exposed id's
this.extensionService.activateByEvent(`onWalkthrough:${categoryID.replace(/[^#]+#/, '')}`);
});
this.detailsPageDisposables.clear();
const category = this.gettingStartedCategories.find(category => category.id === categoryID);

View file

@ -329,6 +329,11 @@ export const schema: IJSONSchema = {
body: 'onTerminalProfile:${1:terminalId}',
description: nls.localize('vscode.extension.activationEvents.onTerminalProfile', 'An activation event emitted when a specific terminal profile is launched.'),
},
{
label: 'onWalkthrough',
body: 'onWalkthrough:${1:walkthroughID}',
description: nls.localize('vscode.extension.activationEvents.onWalkthrough', 'An activation event emitted when a specified walkthrough is opened.'),
},
{
label: '*',
description: nls.localize('vscode.extension.activationEvents.star', 'An activation event emitted on VS Code startup. To ensure a great end user experience, please use this activation event in your extension only when no other activation events combination works in your use-case.'),