From 88288dba46f5d79b6d763c34c863e826bf3c421f Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Fri, 6 Jun 2025 01:09:35 -0700 Subject: [PATCH] add to history on autoaccept --- src/vs/workbench/contrib/void/browser/editCodeService.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vs/workbench/contrib/void/browser/editCodeService.ts b/src/vs/workbench/contrib/void/browser/editCodeService.ts index 3eb7ed6b..80ee4bc9 100644 --- a/src/vs/workbench/contrib/void/browser/editCodeService.ts +++ b/src/vs/workbench/contrib/void/browser/editCodeService.ts @@ -1182,7 +1182,7 @@ class EditCodeService extends Disposable implements IEditCodeService { // auto accept if (this._settingsService.state.globalSettings.autoAcceptLLMChanges) { - this.acceptOrRejectAllDiffAreas({ uri, removeCtrlKs: false, behavior: 'accept', _addToHistory: false }) + this.acceptOrRejectAllDiffAreas({ uri, removeCtrlKs: false, behavior: 'accept' }) } } @@ -1226,7 +1226,7 @@ class EditCodeService extends Disposable implements IEditCodeService { // auto accept if (this._settingsService.state.globalSettings.autoAcceptLLMChanges) { - this.acceptOrRejectAllDiffAreas({ uri, removeCtrlKs: false, behavior: 'accept', _addToHistory: false }) + this.acceptOrRejectAllDiffAreas({ uri, removeCtrlKs: false, behavior: 'accept' }) } } @@ -1461,7 +1461,7 @@ class EditCodeService extends Disposable implements IEditCodeService { // auto accept if (this._settingsService.state.globalSettings.autoAcceptLLMChanges) { - this.acceptOrRejectAllDiffAreas({ uri, removeCtrlKs: false, behavior: 'accept', _addToHistory: false }) + this.acceptOrRejectAllDiffAreas({ uri, removeCtrlKs: false, behavior: 'accept' }) } } @@ -1750,7 +1750,7 @@ class EditCodeService extends Disposable implements IEditCodeService { // auto accept if (this._settingsService.state.globalSettings.autoAcceptLLMChanges) { - this.acceptOrRejectAllDiffAreas({ uri, removeCtrlKs: false, behavior: 'accept', _addToHistory: false }) + this.acceptOrRejectAllDiffAreas({ uri, removeCtrlKs: false, behavior: 'accept' }) } }