Skip to content

powershellcore on windows does not display when venv active #21891

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

Closed
eleanorjboyd opened this issue Aug 29, 2023 · 5 comments
Closed

powershellcore on windows does not display when venv active #21891

eleanorjboyd opened this issue Aug 29, 2023 · 5 comments
Assignees
Labels
info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@eleanorjboyd
Copy link
Member

Testing #21298

in order to get powershellcore working on windows I had to install it, activate it by going to the correct folder in powershell, then opening up vscode with "code ." from that same powershell version. If I didn't open with "code ." then I would not see the option for the specific powershellcore version I picked in my default terminal picker.

I selected powershellcore, created a venv, then clicked a new terminal. No icon was displayed to show I was in the venv but the executable is the venv (which is called ps2)
Screenshot 2023-08-29 at 11 11 19 AM

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Aug 29, 2023
@eleanorjboyd
Copy link
Member Author

same occurs for conda too
Screenshot 2023-08-29 at 11 15 46 AM

@karrtikr
Copy link

As per the TPI the terminal prompt may not show, you should either either the notification or a terminal prompt.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Aug 29, 2023
@karrtikr
Copy link

image

@eleanorjboyd
Copy link
Member Author

ah yes I see the notification- is there a reason the paratheses don't show? Is this based on the shell?

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Aug 29, 2023
@karrtikr
Copy link

Yep. For powershell, there's no way for us to reliably show parenthesis using environment variables.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Aug 29, 2023
@karrtikr karrtikr closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants