mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 01:25:38 -05:00
* Merge from vscode a234f13c45b40a0929777cb440ee011b7549eed2 * update distro * fix layering * update distro * fix tests
27 lines
913 B
TypeScript
27 lines
913 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 { GuestSessionManager } from './guestSessionManager';
|
|
import { HostSessionManager } from './hostSessionManager';
|
|
|
|
declare let require: any;
|
|
let vsls = require('vsls');
|
|
|
|
export async function activate(context: vscode.ExtensionContext) {
|
|
const vslsApi = await vsls.getApi();
|
|
if (!vslsApi) {
|
|
return;
|
|
}
|
|
|
|
/* tslint:disable:no-unused-expression */
|
|
new HostSessionManager(context, vslsApi);
|
|
new GuestSessionManager(context, vslsApi);
|
|
/* tslint:enable:no-unused-expression */
|
|
}
|
|
|
|
export function deactivate(): void {
|
|
}
|