Fix link for Getting Started command (#16863)

* Fix link for Getting Started command

* Fix comment
This commit is contained in:
Karl Burtram
2021-08-24 09:58:32 -07:00
committed by GitHub
parent c00fc80f22
commit 1e0b0bb21a
3 changed files with 12 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IWorkbenchActionRegistry, Extensions as ActionExtensions } from 'vs/workbench/common/actions';
import { ShowGettingStartedAction } from 'sql/workbench/update/electron-browser/gettingStarted';
import { SyncActionDescriptor } from 'vs/platform/actions/common/actions';
import { Registry } from 'vs/platform/registry/common/platform';
// add getting started contributions
Registry.as<IWorkbenchActionRegistry>(ActionExtensions.WorkbenchActions)
.registerWorkbenchAction(SyncActionDescriptor.create(ShowGettingStartedAction, ShowGettingStartedAction.ID, ShowGettingStartedAction.LABEL), 'Show Getting Started');