diff options
author | Daiki Ihara <[email protected]> | 2020-12-21 06:51:45 +0000 |
---|---|---|
committer | Daiki Ihara <[email protected]> | 2020-12-21 06:55:40 +0000 |
commit | 23ed33a3a6b92064ae711bac305ac163f1fda4f5 (patch) | |
tree | 0a31a61c7c11d04aa027b6fdb1ab43d3e84accd1 /editors/code | |
parent | 66fd262962624db0a72f0aafff49a7c74601beb8 (diff) |
Use workspace applyEdit instead of snippetWorkspaceEdit
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/src/commands.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
470 | return; | 470 | return; |
471 | } | 471 | } |
472 | const edit = client.protocol2CodeConverter.asWorkspaceEdit(item.edit); | 472 | const edit = client.protocol2CodeConverter.asWorkspaceEdit(item.edit); |
473 | await applySnippetWorkspaceEdit(edit); | 473 | await vscode.workspace.applyEdit(edit); |
474 | }; | 474 | }; |
475 | } | 475 | } |
476 | 476 | ||