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

Python Up Arrow not working on gitbash intergrated terminal w venv running #24499

Open
chrisdel101 opened this issue Nov 26, 2024 · 2 comments
Open
Assignees
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@chrisdel101
Copy link

chrisdel101 commented Nov 26, 2024

Py up arrow history not working in shell while venv is running. Venv is essential to py dev so this is huge pain. Need instead to use external terminal which is bothersome.

See post that I've commented in 2 years ago as documented history.

Does this issue occur when all extensions are disabled?: Yes/No

Yes - all extensions are disabled + reloaded, but venv is running. Using pipenv for virtual environment.

  • VS Code Version: 1.95.3
  • OS Version: Win 11
  • Python 3.12.6
  • pipenv, version 2024.4.0

Steps to Reproduce:

  1. Open shell and run python command
  2. Try up arrow and fail

If this is a setting issue, or some kind of user error, I'd be happy to hear how to fix this :)

@karthiknadig karthiknadig removed their assignment Nov 28, 2024
@karthiknadig karthiknadig transferred this issue from microsoft/vscode Nov 28, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Nov 28, 2024
@anthonykim1
Copy link

anthonykim1 commented Dec 3, 2024

Thanks for filing this issue.
Does this issue persist when you use different shell other than git bash?
Please note git bash is not currently officially supported from Python extension.

@anthonykim1 anthonykim1 added bug Issue identified by VS Code Team member as probable bug area-terminal and removed triage-needed Needs assignment to the proper sub-team labels Dec 3, 2024
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 3, 2024
@chrisdel101
Copy link
Author

Yeah it works if I try powershell but I need a linux shell. Are there any Microsoft does support?
I tried this before with all extensions disabled, but I must not have restarted the shell b/c I retried with new shell, and all disabled, and the up arrow works. So it is extension after all.
Still very disruptive. Thanks for the reply.

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

No branches or pull requests

4 participants