Title: Run Python File in Terminal should save the file first · Issue #1316 · microsoft/vscode-python · GitHub
Open Graph Title: Run Python File in Terminal should save the file first · Issue #1316 · microsoft/vscode-python
X Title: Run Python File in Terminal should save the file first · Issue #1316 · microsoft/vscode-python
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...
Open Graph 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)...
X 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. Anaco...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/1316
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Run Python File in Terminal should save the file first","articleBody":"## Environment data\r\n\r\n- VS Code version: 1.21.1\r\n- Extension version (available under the Extensions sidebar): 2018.3.1\r\n- OS and version: Windows 10\r\n- Python version (& distribution if applicable, e.g. Anaconda): Python 3.6\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv\r\n- Relevant/affected Python packages and their versions: N/A\r\n\r\n## Actual behavior\r\n\r\nRun Python File in Terminal does not save the file before running it in the terminal\r\n\r\n## Expected behavior\r\n\r\nRun 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.\r\n\r\n## Steps to reproduce:\r\n1. Create a new .py file\r\n2. Type ```print(\"hello world\")``` into the file, but don't save!\r\n3. Right->click in the editor and select Run Python File in Terminal\r\n4. Observe no output (because the file was not saved)\r\n\r\n## Logs\r\n\r\nN/A","author":{"url":"https://github.com/qubitron","@type":"Person","name":"qubitron"},"datePublished":"2018-04-05T21:12:29Z","url":"https://github.com/microsoft/vscode-python/issues/1316"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:24e8e70e-8dfb-d983-a343-6615f5bc31ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADD6:281DDB:316394:439329:6AFE5286 |
| html-safe-nonce | 80b99a8cf5412213cf66264adab64b902bcfbbbb5208c9f109cf6777e136da99 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREQ2OjI4MUREQjozMTYzOTQ6NDM5MzI5OjZBRkU1Mjg2IiwidmlzaXRvcl9pZCI6IjE5MDg0MTYwNTkxNzg2MzU5MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 040eb4f0206afeb7eacf9e53ed1b3db0507b8ce76daaf86b48840badaa39ff0e |
| hovercard-subject-tag | issue:311771090 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/1316/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4e0c1b4f7092a76f42a2523871e6be521d43215582ca4ea9addce68424ae0a10/microsoft/vscode-python/issues/1316 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4e0c1b4f7092a76f42a2523871e6be521d43215582ca4ea9addce68424ae0a10/microsoft/vscode-python/issues/1316 |
| og:image:alt | 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)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | qubitron |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3ad2b58e42f481583284b895305360b61b0223636c9dde6d696b575347163a26 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8df44dbe1c8091b38c3e0165c05a1e5c1563762e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width