From 11b9bdae3a1d96ca8bef0d5cddfcaa700c3c6d8e Mon Sep 17 00:00:00 2001 From: aamunger Date: Wed, 8 May 2024 16:22:40 -0700 Subject: [PATCH 1/2] dont execute to console from the IW input box --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d8384bf5a9a7..c7dd6b2a46e8 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "description": "%walkthrough.pythonWelcome.description%", "when": "workspacePlatform != webworker", "steps": [ - { + { "id": "python.createPythonFolder", "title": "%walkthrough.step.python.createPythonFolder.title%", "description": "%walkthrough.step.python.createPythonFolder.description%", @@ -1086,7 +1086,7 @@ { "command": "python.execSelectionInTerminal", "key": "shift+enter", - "when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused" + "when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !jupyter.ownsSelection && !notebookEditorFocused && activeEditor != 'workbench.editor.interactive'" }, { "command": "python.refreshTensorBoard", @@ -1156,10 +1156,10 @@ ], "menus": { "issue/reporter": [ - { - "command": "python.reportIssue" - } - ], + { + "command": "python.reportIssue" + } + ], "commandPalette": [ { "category": "Python", From 09420cdfcf66c9e1177b15cf5cd8e905e9d02020 Mon Sep 17 00:00:00 2001 From: aamunger Date: Wed, 8 May 2024 16:33:48 -0700 Subject: [PATCH 2/2] undo formatting --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c7dd6b2a46e8..46c24ab31d01 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "description": "%walkthrough.pythonWelcome.description%", "when": "workspacePlatform != webworker", "steps": [ - { + { "id": "python.createPythonFolder", "title": "%walkthrough.step.python.createPythonFolder.title%", "description": "%walkthrough.step.python.createPythonFolder.description%", @@ -1156,10 +1156,10 @@ ], "menus": { "issue/reporter": [ - { - "command": "python.reportIssue" - } - ], + { + "command": "python.reportIssue" + } + ], "commandPalette": [ { "category": "Python",