-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Powershell Core installed with scoop is not recognized in terminal #137323
Comments
I believe this was fixed in the recovery build. |
And which version is that build? |
1.62.3 |
Update: I figured it out. I just tweak this setting and vscode can now detects it: "terminal.integrated.profiles.windows": {
"PowerShell Core": {
"path": "pwsh.exe",
"icon": "terminal-powershell"
}
}, Just Happy to share it now after three weeks tweaking it 😎. |
I don't think we detect the scoop install: vscode/src/vs/base/node/powershell.ts Lines 239 to 294 in 494cbbd
fyi @TylerLeonhardt if this is something you want to add |
Yeah the scoop usage was pretty low and rather than it installing in the normal location (which is what winget & chocolatey do) it goes to a specific scoop place. That is why we didn't do it in the PowerShell extension. In any case, I'll say what I said then... I'm not planning on adding this, but if a PR came in for it, I wouldn't reject it. |
Does this issue occur when all extensions are disabled?: No
Steps to Reproduce:
powershell
.pwsh
from scoop PATH.setting.json
related to terminal profile, but no avail.Why Windows Terminal recognize
pwsh
from scoop directory while VS Code does not?The text was updated successfully, but these errors were encountered: