mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
* extension now working * fix diff editor title disappearing and remove border from source and target name boxes * redoing a bunch of stuff that disappeared after rebasing * add images and add to extensions.ts * moving a few changes to the right place after rebase * formatting * update toolbar svgs * addressing comments * add return types * Adding PR comments * Adding light and dark theme icons * Fixing the diff editor title for dark theme
25 lines
890 B
TypeScript
25 lines
890 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
'use strict';
|
|
import * as vscode from 'vscode';
|
|
import MainController from './controllers/mainController';
|
|
|
|
let controllers: MainController[] = [];
|
|
|
|
export async function activate(context: vscode.ExtensionContext): Promise<void> {
|
|
// Start the main controller
|
|
let mainController = new MainController(context);
|
|
controllers.push(mainController);
|
|
context.subscriptions.push(mainController);
|
|
|
|
await mainController.activate();
|
|
}
|
|
|
|
export function deactivate(): void {
|
|
for (let controller of controllers) {
|
|
controller.deactivate();
|
|
}
|
|
}
|