Skip to content

Commit

Permalink
Hide Run Python option when in Jupyter Notebook (#23732)
Browse files Browse the repository at this point in the history
Resolves: #22739
  • Loading branch information
anthonykim1 authored Jul 9, 2024
1 parent 462b9bf commit 7e434a7
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 @@ -1361,7 +1361,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 7e434a7

Please sign in to comment.