Skip to content

Commit

Permalink
Remove notebook sync in chat edits (#242642)
Browse files Browse the repository at this point in the history
* Remove chat edit sync

* remove

* remove contrib
  • Loading branch information
DonJayamanne authored Mar 6, 2025
1 parent 14324bb commit 40b7dc0
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 1,546 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { ContextKeyExpr } from '../../../../../platform/contextkey/common/contex
import { EditorContextKeys } from '../../../../../editor/common/editorContextKeys.js';
import { ACTIVE_GROUP, IEditorService } from '../../../../services/editor/common/editorService.js';
import { CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME, IChatEditingService, IChatEditingSession, IModifiedFileEntry, IModifiedFileEntryEditorIntegration, WorkingSetEntryState } from '../../common/chatEditingService.js';
import { ctxNotebookHasEditorModification } from '../../../notebook/browser/contrib/chatEdit/notebookChatEditContext.js';
import { resolveCommandsContext } from '../../../../browser/parts/editor/editorCommandsContext.js';
import { IListService } from '../../../../../platform/list/browser/listService.js';
import { IEditorGroupsService } from '../../../../services/editor/common/editorGroupsService.js';
Expand Down Expand Up @@ -79,7 +78,7 @@ abstract class NavigateAction extends ChatEditingEditorAction {
: KeyMod.Alt | KeyMod.Shift | KeyCode.F5,
weight: KeybindingWeight.WorkbenchContrib,
when: ContextKeyExpr.and(
ContextKeyExpr.or(ctxHasEditorModification, ctxNotebookHasEditorModification),
ctxHasEditorModification,
EditorContextKeys.focus
),
},
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 40b7dc0

Please sign in to comment.