mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
make diffs human readable (#178816)
This commit is contained in:
parent
0f434840ce
commit
9c9ba4c45d
|
@ -907,7 +907,7 @@ export class InteractiveEditorController implements IEditorContribution {
|
|||
|
||||
// make edits more minimal
|
||||
this._ctxLastEditKind.set(reply.edits.length === 1 ? 'simple' : '');
|
||||
const moreMinimalEdits = (await this._editorWorkerService.computeMoreMinimalEdits(textModel.uri, reply.edits, true));
|
||||
const moreMinimalEdits = (await this._editorWorkerService.computeHumanReadableDiff(textModel.uri, reply.edits));
|
||||
this._logService.trace('[IE] edits from PROVIDER and after making them MORE MINIMAL', provider.debugName, reply.edits, moreMinimalEdits);
|
||||
this._recorder.addExchange(session, request, reply);
|
||||
|
||||
|
|
Loading…
Reference in a new issue