diff --git a/src/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.ts b/src/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.ts index 047600a391210..c63d63003c636 100644 --- a/src/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.ts +++ b/src/vs/workbench/contrib/bulkEdit/browser/bulkTextEdits.ts @@ -134,8 +134,7 @@ class EditorEditTask extends ModelEditTask { } else { this._edits = this._edits - .sort((a, b) => Range.compareRangesUsingStarts(a.range, b.range)) - .map(edit => ({ ...edit, text: edit.text && SnippetParser.escape(edit.text) })); + .sort((a, b) => Range.compareRangesUsingStarts(a.range, b.range)); this._editor.executeEdits('', this._edits); } }