Skip to content

PowerShell Extension terminal unusable when using Windows PowerShell with PSReadLine >= 2.2.5 #4804

Closed
@sba923

Description

@sba923

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

Using the latest PowerShell Extension v2023.9.5, that comes with PSReadLine 2.3.4, is not possible with Windows PowerShell:

image

Reverting to PSReadLine 2.0.0, works, anything >= 2.2.5 yields the same behavior.

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

Visual Studio Code Version

1.83.1
f1b07bd25dfad64b0167beb15359ae573aecd2cc
x64

Extension Version

ms-vscode.powershell@2023.9.5
TylerLeonhardt.vscode-inline-values-powershell@0.0.7

Steps to Reproduce

Launch VScode, open any .ps1 file, and switch the PowerShell session to "Windows PowerShell (x64)"

Visuals

No response

Logs

1698477220-9012415f-77ca-49e4-a3a8-c49c6146ab011698477191238.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions