You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run Python File in Terminal should save the file first #1316
Extension version (available under the Extensions sidebar): 2018.3.1
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): Python 3.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: N/A
Actual behavior
Run Python File in Terminal does not save the file before running it in the terminal
Expected behavior
Run Python File in Terminal should save the file before running it in the terminal. I've gotten confused a few times when I type something into a file and try to run it, and it produces unexpected results, only to realize I forgot to save.
Steps to reproduce:
Create a new .py file
Type print("hello world") into the file, but don't save!
Right->click in the editor and select Run Python File in Terminal
Observe no output (because the file was not saved)
changed the title [-]Run Python File in Terminal should save the active file first[/-][+]Run Python File in Terminal should save the file first[/+]on Apr 5, 2018
Activity
[-]Run Python File in Terminal should save the active file first[/-][+]Run Python File in Terminal should save the file first[/+]Enhancements to running code in a terminal (#1432)