diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-22 10:04:24 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-22 10:04:24 +0000 |
| commit | b98ee075ee8baa6dc4284f04df4c7012baccda28 (patch) | |
| tree | 66904d52167d8bdb45f598499538a17ef1f906e4 /editors/code/src | |
| parent | 61711d975777b176ca2a93ec1ceb2bed661fc6d7 (diff) | |
| parent | 23ed33a3a6b92064ae711bac305ac163f1fda4f5 (diff) | |
| download | rust-b98ee075ee8baa6dc4284f04df4c7012baccda28.tar.gz rust-b98ee075ee8baa6dc4284f04df4c7012baccda28.zip | |
Merge #6746
6746: Feature/add assist extract module to file r=matklad a=sasurau4 Fix #6522 ## Screenshot <img src="https://user-images.githubusercontent.com/13580199/102748269-33a44300-43a5-11eb-9e37-f5fcb8e62f73.gif" width=600 /> ## TODO - [x] Remove all TODO comment - [x] Pass the doc test Co-authored-by: Daiki Ihara <sasurau4@gmail.com>
Diffstat (limited to 'editors/code/src')
| -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 92bc4d7f723..9d4823a34de 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); }; } |
