formulahendry / formulahendry/vscode-code-runner

[Feature request] Add option to kill active terminal before running

Open
#1,285 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
I often forget a Python script running in the terminal waiting for a keypress with msvcrt.getch(), then I try to run the script again and get all sorts of weird issues.

**Describe the solution you'd like**
I'm not sure what causes this issue, but I imagine if I had an option to kill the existing terminal before running the script it would fix it, since if I do that manually the issue doesn't happen.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the extension's code-runner settings and terminal execution path; the issue does not name specific files or tests. Trace how a script is launched and how an existing terminal is handled. Done means an optional setting can terminate the active terminal before running the script, with the reported Python msvcrt.getch() scenario verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.