-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Using up-arrow in Python terminal for conda env does not show last command #49980
Comments
(Experimental duplicate detection) |
Works for me when I launch a powershell terminal and run python in it, which I think is what the Python extension does https://github.com/Microsoft/vscode-python/blob/master/src/client/common/terminal/service.ts#L58-L76, not sure what that stripe_page stuff is doing though. @brettcannon can you reproduce? |
@Tyriar nope. Either this is some crazy readline issue, or it's the OP's Python install. |
@jn7dt no, running This is quickly sounding like there's an issue in your conda env in that readline or something is not installed and that's causing your REPL to not have history available (or somehow the way we have to activate your conda environment, but until conda natively supports PowerShell we don't have any other options either). |
@brettcannon That could be the case, I can investigate that. However, running the same command to activate the env ("&cmd /k activate stripe_page") in an external powershell window works fine with all the terminal functionality expected. Maybe the strangest thing, on review, is that the same workflow in external and integrated terminals produces different results. |
Running a couple tests, I wonder if the issue is related to the syntax of the command activating the environment.
If other people are not experiencing issues then it is probably something related to my setup . I don't want to waste more of your time with it in that case. You can close this issue and I'll try to resolve on my end. Thanks the responses @Tyriar and @brettcannon! |
@jn7dt if you're not running that specific |
We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our issue reporting guidelines might help you with that. Happy Coding! |
(Copied from vscode-python)
Environment data
Actual behavior
Expected behavior
Steps to reproduce:
Starting REPL with Ctrl + Shift + P -> Python: Start REPL and then continuing with steps 3 and 4 results in the same issue.
The text was updated successfully, but these errors were encountered: