mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 17:23:35 -05:00
20 lines
797 B
TypeScript
20 lines
797 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import * as vscode from 'vscode';
|
|
import { DashboardWidget } from './dashboard/sqlServerDashboard';
|
|
import { TelemetryReporter } from './telemetry';
|
|
|
|
let widget: DashboardWidget;
|
|
export async function activate(context: vscode.ExtensionContext): Promise<DashboardWidget> {
|
|
widget = new DashboardWidget(context);
|
|
await widget.register();
|
|
context.subscriptions.push(TelemetryReporter);
|
|
return widget;
|
|
}
|
|
|
|
export function deactivate(): void {
|
|
}
|