forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area-terminalfeature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
Environment data
- VS Code version: 1.21.1
- 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)
Logs
N/A
DonJayamanne
Metadata
Metadata
Assignees
Labels
area-terminalfeature-requestRequest for new features or functionalityRequest for new features or functionality