mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Remove buildstatus
This commit is contained in:
@@ -45,7 +45,6 @@ import TypeScriptTaskProviderManager from './features/taskProvider';
|
||||
|
||||
import ImplementationCodeLensProvider from './features/implementationsCodeLensProvider';
|
||||
|
||||
import * as BuildStatus from './utils/buildStatus';
|
||||
import * as ProjectStatus from './utils/projectStatus';
|
||||
import TypingsStatus, { AtaProgressReporter } from './utils/typingsStatus';
|
||||
import VersionStatus from './utils/versionStatus';
|
||||
@@ -161,8 +160,6 @@ export function activate(context: ExtensionContext): void {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
BuildStatus.update({ queueLength: 0 });
|
||||
}
|
||||
|
||||
|
||||
@@ -658,11 +655,6 @@ class TypeScriptServiceClientHost implements ITypescriptServiceClientHost {
|
||||
}
|
||||
});
|
||||
}
|
||||
/*
|
||||
if (Is.defined(body.queueLength)) {
|
||||
BuildStatus.update({ queueLength: body.queueLength });
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/* internal */ configFileDiagnosticsReceived(event: Proto.ConfigFileDiagnosticEvent): void {
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import vscode = require('vscode');
|
||||
|
||||
const statusItem: vscode.StatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, Number.MIN_VALUE);
|
||||
|
||||
export interface BuildInfo {
|
||||
queueLength: number;
|
||||
}
|
||||
|
||||
export function update(info: BuildInfo): void {
|
||||
if (info.queueLength === 0) {
|
||||
statusItem.hide();
|
||||
return;
|
||||
}
|
||||
statusItem.text = info.queueLength.toString();
|
||||
statusItem.show();
|
||||
}
|
||||
Reference in New Issue
Block a user