Vscode-powershell: Preview + Stable Extension: Enter does not work in IC with PSv7.1 preview 7

Created on 10 Sep 2020  路  11Comments  路  Source: PowerShell/vscode-powershell

System Details


System Details Output

### VSCode version: 1.48.2 a0479759d6e9ea56afa657e454193f72aef85bd0 x64

### VSCode extensions:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]


### PSES version: 2.3.0.0

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      7.1.0-preview.7
PSEdition                      Core
GitCommitId                    7.1.0-preview.7
OS                             Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0鈥
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Description

When typing in the IC directly, Enter key does not work anymore

doesnotwork

I don't have this issue with 7.0.3

I captured the logs while pressing enter a bunch and then Ctrl+C

Expected Behaviour

Should work.

Actual Behaviour

Does not work

Attached Logs

Follow the instructions in the troubleshooting docs
about capturing and sending logs.

vscode-powershell.log
StartEditorServices.log
EditorServices.log

Area-Integrated Console Issue-Bug Resolution-External

Most helpful comment

@TylerLeonhardt @SteveL-MSFT @daxian-dbw @rjmholt Can confirm the problem is resolved with RC2!

All 11 comments

I'm not able to reproduce this myself, but we'll try on macOS as well

enter

Thanks @rjmholt! FYI, no change when not loading my profile. Also tried the stable PowerShell extension, same issue

I can repro this on macOS. It's likely a regression in PowerShell.

you can go back to preview6 or powershell.integratedConsole.useLegacyReadLine still works until we get to the bottom of this.

I'm fine working with 7.0.3 daily. Noticed it as I'm preparing a demo for tomorrow "whats new in 7.1" :)

I'll leave my setup as is in case you require some additional info / actions from my side

Thanks for bringing this to our attention!

Small update: If I hit enter right after the IC is available (started), it will work a couple of times (like in a 1 sec window)

I've been swamped with Ignite stuff but I'll focus on this right after that's done.

This appears to be an underlying issue with .NET: https://github.com/dotnet/runtime/issues/42418

They ack'd. Closing this as external. .NET 5 RC.2 will likely have this sorted. This could be the next preview of PowerShell or the one after. cc @SteveL-MSFT @daxian-dbw @rjmholt

@TylerLeonhardt @SteveL-MSFT @daxian-dbw @rjmholt Can confirm the problem is resolved with RC2!

Was this page helpful?
0 / 5 - 0 ratings