mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Use workspace applyEdit instead of snippetWorkspaceEdit
This commit is contained in:
parent
66fd262962
commit
23ed33a3a6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue