Skip to content

Commit

Permalink
make diffs human readable (#178816)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Mar 31, 2023
1 parent 0f43484 commit 9c9ba4c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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);

Expand Down

0 comments on commit 9c9ba4c

Please sign in to comment.