Skip to content

Commit 23ed33a

Browse files
committed
Use workspace applyEdit instead of snippetWorkspaceEdit
1 parent 66fd262 commit 23ed33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ export function resolveCodeAction(ctx: Ctx): Cmd {
470470
return;
471471
}
472472
const edit = client.protocol2CodeConverter.asWorkspaceEdit(item.edit);
473-
await applySnippetWorkspaceEdit(edit);
473+
await vscode.workspace.applyEdit(edit);
474474
};
475475
}
476476

0 commit comments

Comments
 (0)