Skip to content

Improve the logic of the Run button in the upper right corner #21097

Closed

Description

When using a Python plugin, if I want to launch two programs and have them run indefinitely (e.g. in an infinite loop), the logic of the Run button in the upper right corner is very strange. When I use the Run button to launch the programs, both programs share the same terminal, which causes the second program to have to wait for the first program to finish before it can start (obviously, the first program in the infinite loop will not stop), which obviously does not meet the usage habits.

I hope that the Run button in the upper right corner has the following logic:

  • Each program uses a new terminal and displays the name of the running program in each terminal to distinguish different programs(e.g. python:filename),
  • or detects the status of the terminal, if the previous program has finished execution, start in the same terminal, otherwise start in a new terminal.

Activity

  1. added
    feature-request
    on Apr 21, 2023
  2. added
    triage-needed
    on Apr 21, 2023
  3. luabud commented on Apr 24, 2023

    @luabud
    Member
  4. changed the title [-]the logic of the Run button in the upper right corner[/-] [+]Improve the logic of the Run button in the upper right corner[/+] on May 8, 2023
  5. karrtikr commented on May 8, 2023

    @karrtikr

    @SAquarius I've incorporated your suggestion in #21202 to open a different "Python" terminal for every file, thanks.

    We hope to solve this issue generally in #15770, #14094.

  6. added
    needs PR
    and removed
    triage-needed
    on May 8, 2023
  7. added this to the May 2023 milestone on May 8, 2023
  8. karrtikr commented on May 8, 2023

    @karrtikr

    Closing in favor of #14094.

  9. removed this from the May 2023 milestone on May 8, 2023
  10. locked as resolved and limited conversation to collaborators on Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-terminalfeature-request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions