Skip to content

I cannot press enter in PowerShell files after Code 1.22.2 update #1268

@sandersaares

Description

@sandersaares

System Details

  • Operating system name and version: Windows 10 v1709
  • VS Code version: 1.22.2
  • PowerShell extension version: 1.6.0
  • Output from $PSVersionTable:
1.22.2
3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9
ia32

Major  Minor  Build  Revision
-----  -----  -----  --------
1      6      0      0


Compulim.compulim-vscode-closetag@1.1.0
dbaeumer.vscode-eslint@1.4.8
donjayamanne.githistory@0.4.0
DotJoshJohnson.xml@1.9.2
jebbs.plantuml@2.5.7
lukehoban.Go@0.6.78
marcostazi.VS-code-vagrantfile@0.0.7
ms-vscode.PowerShell@1.6.0


Name                           Value
----                           -----
PSVersion                      5.1.16299.251
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.16299.251
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

After update to Code 1.22.2, the PowerShell extension does not let me press enter in some situations. The newline appears but focus returns to the previous line.

See https://youtu.be/Yql5mJbVHsk for demo.

Problem disappears if I disable PowerShell extension. I am unsure if I tried this scenario with 1.22.x earlier versions but certainly it worked a month ago.

Attached Logs

EditorServices.log
vscode-powershell.log

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions