Refactor SQL Binding code over from sql-database-projects (#18674)

* add sql binding prompt / logic

* remove controller and move to extension

* remove unused dependencies
This commit is contained in:
Vasu Bhog
2022-03-09 01:02:37 -08:00
committed by GitHub
parent 025e0831e7
commit eb77d86136
12 changed files with 1869 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
/*---------------------------------------------------------------------------------------------
* 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 AdsTelemetryReporter from '@microsoft/ads-extension-telemetry';
const packageInfo = vscode.extensions.getExtension('Microsoft.sql-bindings')?.packageJSON;
export const TelemetryReporter = new AdsTelemetryReporter(packageInfo.name, packageInfo.version, packageInfo.aiKey);
export enum TelemetryViews {
SqlBindingsQuickPick = 'SqlBindingsQuickPick'
}
export enum TelemetryActions {
startAddSqlBinding = 'startAddSqlBinding',
finishAddSqlBinding = 'finishAddSqlBinding'
}