mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
adjust API proposal to account for N files being created, moved, and deleted
This commit is contained in:
@@ -57,7 +57,8 @@ class UpdateImportsOnFileRenameHandler extends Disposable {
|
||||
) {
|
||||
super();
|
||||
|
||||
this._register(vscode.workspace.onDidExecuteRenameFile(async ({ newUri, oldUri }) => {
|
||||
this._register(vscode.workspace.onDidExecuteRenameFile(async (e) => {
|
||||
const [{ newUri, oldUri }] = e.renamed;
|
||||
const newFilePath = this.client.toPath(newUri);
|
||||
if (!newFilePath) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user