Skip to content

VSCODE v1.59.1 - POWERSHELL - F5 and F8 not working as intented #3515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
akselbork opened this issue Aug 20, 2021 · 4 comments
Closed
4 tasks done

VSCODE v1.59.1 - POWERSHELL - F5 and F8 not working as intented #3515

akselbork opened this issue Aug 20, 2021 · 4 comments
Labels
Issue-Bug A bug to squash. Resolution-Duplicate Will close automatically.

Comments

@akselbork
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.

Summary

When choosing a line in a PowerShell script and pressing F8, nothing happens.
Then by moving the focus to the terminal and pressing "Enter" the line will be executed, at becomes visible in the terminal.

This is the same for F5

So every execution has to be made i "double steps"

No problem if the command is entered directly into the terminal

PowerShell Version

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

Visual Studio Code Version

1.59.1
3866c3553be8b268c8a7f8c0482c0c0177aa8bfa
x64

Extension Version

Steps to Reproduce

  1. Open PS1 file
  2. Select line
  3. Press F8
    4

Visuals

No response

Logs

No response

@akselbork akselbork added the Issue-Bug A bug to squash. label Aug 20, 2021
@ghost ghost added the Needs: Triage Maintainer attention needed! label Aug 20, 2021
@PrzemyslawKlys
Copy link
Contributor

It doesn't work for me either. The New PowerShell preview is broken. When presssing F5 in 5.1 or in PS 7 the PowerShell icon in the bottom is progressing but nothing happens.

@fbehrens
Copy link

I have the same when running cmmand Powershell: Run Selvetion after the update of Powershell Preview to 2021.8.1.

After rollback to 2021.8.0 it works again.

vscode: 1.59.1
powershell: 7.1.4
os: windows 10 Version 1909

@andyleejordan
Copy link
Member

Duplicate of #3513, will be fixed Monday with a new update to the preview. Sorry about that! Wondering how to add a regression test around this, and super open to ideas on that topic.

@andyleejordan andyleejordan added Resolution-Duplicate Will close automatically. and removed Needs: Triage Maintainer attention needed! labels Aug 20, 2021
@ghost
Copy link

ghost commented Aug 22, 2021

This issue has been marked as duplicate and has not had any activity in a day. It has been closed for housekeeping purposes.

@ghost ghost closed this as completed Aug 22, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash. Resolution-Duplicate Will close automatically.
Projects
None yet
Development

No branches or pull requests

4 participants