From b71516103f25482f45c6adb60254e61aa02a9276 Mon Sep 17 00:00:00 2001 From: amunger Date: Tue, 5 Nov 2024 13:03:34 -0800 Subject: [PATCH] dont execute history items --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b81d4a083a15..9f1caf862c56 100644 --- a/package.json +++ b/package.json @@ -1174,12 +1174,12 @@ { "command": "python.execInREPLEnter", "key": "enter", - "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl' && !inlineChatFocused" + "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.repl' && !inlineChatFocused && !notebookCellListFocused" }, { "command": "python.execInInteractiveWindowEnter", "key": "enter", - "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive' && !inlineChatFocused" + "when": "!config.interactiveWindow.executeWithShiftEnter && activeEditor == 'workbench.editor.interactive' && !inlineChatFocused && !notebookCellListFocused" }, { "command": "python.refreshTensorBoard",