Skip to content

Commit 38d3566

Browse files
committed
disabe cmd/ctrl+z for "special undo" of inline chat
fixes microsoft/vscode-internalbacklog#3966
1 parent 205b7f3 commit 38d3566

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/workbench/contrib/interactiveEditor/browser/interactiveEditorActions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,10 @@ export class UndoCommand extends AbstractInteractiveEditorAction {
314314
title: localize('undo', 'Undo'),
315315
icon: Codicon.commentDiscussion,
316316
precondition: ContextKeyExpr.and(CTX_INTERACTIVE_EDITOR_VISIBLE, CTX_INTERACTIVE_EDITOR_LAST_EDIT_TYPE.isEqualTo('simple')),
317-
keybinding: {
318-
weight: KeybindingWeight.EditorContrib + 10,
319-
primary: KeyMod.CtrlCmd | KeyCode.KeyZ,
320-
},
317+
// keybinding: {
318+
// weight: KeybindingWeight.EditorContrib + 10,
319+
// primary: KeyMod.CtrlCmd | KeyCode.KeyZ,
320+
// },
321321
menu: {
322322
when: CTX_INTERACTIVE_EDITOR_LAST_EDIT_TYPE.isEqualTo('simple'),
323323
id: MENU_INTERACTIVE_EDITOR_WIDGET_UNDO,

0 commit comments

Comments
 (0)