mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
finalize progress API, #18066
This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
/// <reference path="../../../../src/vs/vscode.proposed.d.ts" />
|
||||
|
||||
'use strict';
|
||||
|
||||
import { MessageItem, workspace, Disposable, window, commands } from 'vscode';
|
||||
import { MessageItem, workspace, Disposable, ProgressLocation, window, commands } from 'vscode';
|
||||
import { ITypescriptServiceClient } from '../typescriptService';
|
||||
import { loadMessageBundle } from 'vscode-nls';
|
||||
|
||||
@@ -87,7 +85,10 @@ export class AtaProgressReporter {
|
||||
});
|
||||
});
|
||||
|
||||
window.withWindowProgress(localize('installingPackages', "Fetching data for better TypeScript IntelliSense"), () => promise);
|
||||
window.withProgress({
|
||||
location: ProgressLocation.Window,
|
||||
title: localize('installingPackages', "Fetching data for better TypeScript IntelliSense")
|
||||
}, () => promise);
|
||||
}
|
||||
|
||||
private _onEndOrTimeout(eventId: number): void {
|
||||
|
||||
Reference in New Issue
Block a user