Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all open and closed issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
- I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
- If this is a security issue, I have read the security issue reporting guidance.
Summary
It appears that the PowerShell extension confuses VSCode terminal decorations.
Left - using VSCode integrated PowerShell terminal - a red dot appears to indicate that the command failed.
Right - using PowerShell Extension terminal - a blue dot appears to indicate that the failed command was successful.
PowerShell Version
Name Value
---- -----
PSVersion 5.1.22621.2506
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22621.2506
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Name : Visual Studio Code Host
Version : 2023.8.0
InstanceId : 8e54ba22-67da-47b2-b060-3887d7a8ce58
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : pl-PL
CurrentUICulture : en-GB
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
Visual Studio Code Version
1.84.2
1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
x64
Extension Version
Steps to Reproduce
Execute throw "foo"
Visuals
No response
Logs
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done