Closed Pxtl closed 10 months ago
This is a bug in VS Code's shell integration script, since it always runs:
Write-Host -NoNewLine ""$([char]0x1b)]633;P;IsWindows=$($IsWindows)`a""
which won't work for PowerShell 5.1.
For now, as I mentioned in the other issue you pinged, try disabling shell integration.
I filed a bug upstream.
Ah, thanks! So in reality, every extension that used the ShellIntegration powershell stuff would've failed, then, and I just saw it on the Powershell extension because that's the one I noticed was failing to load after I restarted it after I reworked my $PSHome script.
Prerequisites
Steps to reproduce
In
$PROFILE.CurrentUserAllHosts
, set the content tothen start VSCode.
Expected behavior
Actual behavior
Error details
Environment data
Version
VSCode Powershell v2023.6.0 in ~.vscode\extensions\ms-vscode.powershell-2023.6.0\modules\PowerShellEditorServices\PowerShellEditorServices.psd1 PowershellEditorServices module version 3.8.7
Visuals
No response