move server report ext to extensions (#14087)

* move server report ext to extensions

* limit the size of data

* comments
This commit is contained in:
Alan Ren
2021-01-28 13:23:30 -08:00
committed by GitHub
parent f9ea6430ee
commit c16aee760f
59 changed files with 535 additions and 4885 deletions

View File

@@ -0,0 +1,25 @@
/*---------------------------------------------------------------------------------------------
* 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';
export default abstract class ControllerBase implements vscode.Disposable {
protected _context: vscode.ExtensionContext;
public constructor(context: vscode.ExtensionContext) {
this._context = context;
}
abstract activate(): Promise<boolean>;
abstract deactivate(): void;
public dispose(): void {
this.deactivate();
}
}