diff --git a/package-lock.json b/package-lock.json index b9575f73..ffbea227 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-azureresourcegroups", - "version": "0.5.4-alpha.4", + "version": "0.5.4-alpha.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vscode-azureresourcegroups", - "version": "0.5.4-alpha.4", + "version": "0.5.4-alpha.5", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "@azure/arm-resources": "5.0.0", diff --git a/package.json b/package.json index 56766f13..78cdef5f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-azureresourcegroups", "displayName": "Azure Resources", "description": "%azureResourceGroups.description%", - "version": "0.5.4-alpha.4", + "version": "0.5.4-alpha.5", "publisher": "ms-azuretools", "icon": "resources/resourceGroup.png", "aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217", diff --git a/src/commands/registerCommands.ts b/src/commands/registerCommands.ts index 6a8df41d..23d9b85a 100644 --- a/src/commands/registerCommands.ts +++ b/src/commands/registerCommands.ts @@ -40,6 +40,7 @@ export function registerCommands(): void { registerCommand('ms-azuretools.loadMore', async (context: IActionContext, node: AzExtTreeItem) => await ext.helpTree.loadMore(node, context)); registerCommand('ms-azuretools.reportIssue', reportIssue); registerCommand('ms-azuretools.reviewIssues', reviewIssues); + registerCommand('ms-azuretools.openWalkthrough', () => commands.executeCommand('workbench.action.openWalkthrough', `ms-azuretools.vscode-azureresourcegroups#azure-get-started`)); // Suppress "Report an Issue" button for all errors in favor of the command registerErrorHandler(c => c.errorHandling.suppressReportIssue = true); diff --git a/src/tree/HelpTreeItem.ts b/src/tree/HelpTreeItem.ts index 8fb6e138..ebb4a103 100644 --- a/src/tree/HelpTreeItem.ts +++ b/src/tree/HelpTreeItem.ts @@ -22,6 +22,12 @@ export class HelpTreeItem extends AzExtParentTreeItem { commandId: 'ms-azuretools.getStarted', iconPath: new ThemeIcon('star-empty') }); + const openWalkthroughTI: AzExtTreeItem = new GenericTreeItem(this, { + label: localize('openWalkthrough', 'Open Azure Extensions Walkthrough'), + contextValue: 'openWalkthrough', + commandId: 'ms-azuretools.openWalkthrough', + iconPath: new ThemeIcon('extensions') + }); const reportIssueTI: AzExtTreeItem = new GenericTreeItem(this, { label: localize('reportIssue', 'Report Issue'), contextValue: 'reportIssue', @@ -34,7 +40,7 @@ export class HelpTreeItem extends AzExtParentTreeItem { commandId: 'ms-azuretools.reviewIssues', iconPath: new ThemeIcon('issues') }); - return [getStartedTI, reviewIssuesTI, reportIssueTI]; + return [getStartedTI, openWalkthroughTI, reviewIssuesTI, reportIssueTI]; } public hasMoreChildrenImpl(): boolean {