Skip to content

Commit 175792f

Browse files
anthonykim1eleanorjboyd
authored andcommitted
Hide Run Python option when in Jupyter Notebook (microsoft#23732)
Resolves: microsoft#22739
1 parent 7d72c78 commit 175792f

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
@@ -1362,7 +1362,7 @@
13621362
{
13631363
"submenu": "python.run",
13641364
"group": "Python",
1365-
"when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted"
1365+
"when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted && notebookType != jupyter-notebook"
13661366
},
13671367
{
13681368
"submenu": "python.runFileInteractive",

0 commit comments

Comments
 (0)