Replies: 1 comment
-
just like this, it is supposed to default to “Run Python File.” |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
My question is about the default behavior of the Run (triangle) button in the top-right corner of VS Code when running Python files.
Initially, clicking the Run button executes “Run Python File” by default. However, if I use the dropdown menu to select “Run Python File in Dedicated Terminal”, and then repeatedly click the Run button (after selecting it from the dropdown a few times), I notice that the default behavior changes.
Specifically, after repeating this process a few times, clicking the Run button no longer executes “Run Python File” but instead runs “Run Python File in Dedicated Terminal”.
Is this the expected behavior in VS Code, or is it caused by some configuration? Is there a way to keep the default action always as “Run Python File” without being overridden by recent selections?
Beta Was this translation helpful? Give feedback.
All reactions