Skip to content

Commit

Permalink
Hide Run Python option when in Jupyter Notebook (microsoft#23732)
Browse files Browse the repository at this point in the history
Resolves: microsoft#22739
  • Loading branch information
anthonykim1 authored and eleanorjboyd committed Jul 30, 2024
1 parent 7d72c78 commit 175792f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@
{
"submenu": "python.run",
"group": "Python",
"when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted"
"when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted && notebookType != jupyter-notebook"
},
{
"submenu": "python.runFileInteractive",
Expand Down

0 comments on commit 175792f

Please sign in to comment.