Skip to content

Commit 4ac4ab3

Browse files
committed
only exclude Run Python from Jupyter notebook
1 parent 00bcb1a commit 4ac4ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@
13611361
{
13621362
"submenu": "python.run",
13631363
"group": "Python",
1364-
"when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted && !jupyter.ownsSelection && !notebookEditorFocused "
1364+
"when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted && notebookType != jupyter-notebook"
13651365
},
13661366
{
13671367
"submenu": "python.runFileInteractive",

0 commit comments

Comments
 (0)