Skip to content

Run Python File button tries to run unsaved file #24381

@injust

Description

@injust

Behaviour

Run Python File button tries to run /path/to/python3 Untitled-N if the save dialog is cancelled.

Steps to reproduce:

  1. Create an unsaved Python file
  2. Click the Run Python File button
  3. Cancel out of the Save dialog
  4. VS Code tries to run /path/to/python3 Untitled-N in the terminal.

Diagnostic data

Output for Python in the Output panel

2024-11-04 07:01:25.466 [info] Send text to terminal: /usr/local/bin/python3 Untitled-11

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions