mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
(re)enable preview for vscode.workspace.applyWorkspaceEdit
This commit is contained in:
@@ -217,7 +217,7 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
|
||||
|
||||
$tryApplyWorkspaceEdit(dto: IWorkspaceEditDto): Promise<boolean> {
|
||||
const { edits } = reviveWorkspaceEditDto(dto);
|
||||
return this._bulkEditService.apply({ edits }, { noPreview: true }).then(() => true, err => false);
|
||||
return this._bulkEditService.apply({ edits }, { noPreview: false }).then(() => true, err => false);
|
||||
}
|
||||
|
||||
$tryInsertSnippet(id: string, template: string, ranges: readonly IRange[], opts: IUndoStopOptions): Promise<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user