Initial Profiler extension scaffolding (#1451)

* Copy agent to profiler extension

* A few mote edits
This commit is contained in:
Karl Burtram
2018-05-21 16:40:22 -07:00
committed by Madeline MacDonald
parent 8e234d9b2d
commit 6aac0b6056
13 changed files with 2336 additions and 7 deletions

View File

@@ -0,0 +1,23 @@
/*---------------------------------------------------------------------------------------------
* 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 vscode = require('vscode');
import { MainController } from './mainController';
import { ApiWrapper } from './apiWrapper';
export let controller: MainController;
export function activate(context: vscode.ExtensionContext) {
let apiWrapper = new ApiWrapper();
controller = new MainController(context, apiWrapper);
controller.activate();
}
// this method is called when your extension is deactivated
export function deactivate(): void {
if (controller) {
controller.deactivate();
}
}