From 23ed33a3a6b92064ae711bac305ac163f1fda4f5 Mon Sep 17 00:00:00 2001 From: Daiki Ihara Date: Mon, 21 Dec 2020 15:51:45 +0900 Subject: Use workspace applyEdit instead of snippetWorkspaceEdit --- editors/code/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code') diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 92bc4d7f7..9d4823a34 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts @@ -470,7 +470,7 @@ export function resolveCodeAction(ctx: Ctx): Cmd { return; } const edit = client.protocol2CodeConverter.asWorkspaceEdit(item.edit); - await applySnippetWorkspaceEdit(edit); + await vscode.workspace.applyEdit(edit); }; } -- cgit v1.2.3