Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Recent Command does not cover multi-line Python REPL commands #24191

Open
rzhao271 opened this issue Sep 25, 2024 · 1 comment
Open

Run Recent Command does not cover multi-line Python REPL commands #24191

rzhao271 opened this issue Sep 25, 2024 · 1 comment
Assignees
Labels
area-repl area-terminal bug Issue identified by VS Code Team member as probable bug

Comments

@rzhao271
Copy link

On macOS or Linux or WSL,

  1. Enable python.terminal.shellIntegration.enabled.
  2. Run "Python: Clear Cache and Reload Window".
  3. Open a terminal and start a Python REPL.
  4. Type for i in range(5): and press Enter.
  5. Type print(i) (including the spaces) and press Enter.
  6. Press Enter again.
  7. The REPL should print integers from 0 to 4.
  8. Run "Terminal: Run Recent Command..."
  9. 🐛 Only print(i) shows up in the quick pick.
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Sep 25, 2024
@anthonykim1 anthonykim1 added area-terminal area-repl bug Issue identified by VS Code Team member as probable bug and removed triage-needed Needs assignment to the proper sub-team labels Sep 25, 2024
@anthonykim1
Copy link

thanks for this - would need to investigate if multi-line commands for Python shelll type specifically is being properly stored in core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-repl area-terminal bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants