Skip to content

Commit 7e434a7

Browse files
authored
Hide Run Python option when in Jupyter Notebook (#23732)
Resolves: #22739
1 parent 462b9bf commit 7e434a7

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"
1364+
"when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted && notebookType != jupyter-notebook"
13651365
},
13661366
{
13671367
"submenu": "python.runFileInteractive",

0 commit comments

Comments
 (0)