Skip to content

Allow creating a new terminal when running python file #16354

Closed

Description

Environment data

  • VS Code version: 1.56.2
  • Extension version (available under the Extensions sidebar): v2021.5.842923320
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.9.5
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: N/A
  • Relevant/affected Python-related VS Code extensions and their versions: N/A
  • Value of the python.languageServer setting: XXX

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]

Expected behaviour

Clicking on the run button runs the file

Actual behaviour

Nothing happens if another file is already running

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. Run a python file which keeps running (like an API)
  2. Open another file (like one sending a request to the API)
  3. Try to run it

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Activity

  1. added
    triage-neededNeeds assignment to the proper sub-team
    bugIssue identified by VS Code Team member as probable bug
    on Jun 1, 2021
  2. changed the title [-]Cannot launch multiple files with icon[/-] [+]Cannot launch multiple files with run icon[/+] on Jun 1, 2021
  3. changed the title [-]Cannot launch multiple files with run icon[/-] [+]Cannot launch multiple files with run button[/+] on Jun 1, 2021
  4. changed the title [-]Cannot launch multiple files with run button[/-] [+]Allow creating a new terminal when running python file[/+] on Jun 1, 2021
  5. locked and limited conversation to collaborators on Jun 1, 2021
  6. brettcannon commented on Sep 1, 2021

    @brettcannon
    Member

    Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 5 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

  7. brettcannon commented on Nov 1, 2021

    @brettcannon
    Member

    Thank you for submitting your feature request and everyone who considered it! Unfortunately this issue did not receive enough votes over the allotted time, and so we are closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions