Show progress during update JS/TS imports

Fixes #64986
This commit is contained in:
Matt Bierner
2018-12-14 13:29:57 -08:00
parent 90f36693c9
commit d02be78457

View File

@@ -38,7 +38,12 @@ class UpdateImportsOnFileRenameHandler extends Disposable {
super();
this._register(vscode.workspace.onDidRenameFile(e => {
this.doRename(e.oldUri, e.newUri);
vscode.window.withProgress({
location: vscode.ProgressLocation.Window,
title: localize('renameProgress.title', "Checking for update of JS/TS imports")
}, () => {
return this.doRename(e.oldUri, e.newUri);
});
}));
}