Skip to content
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

Run Selection [F8] Double sends #4055

Closed
6 tasks done
jhoneill opened this issue Jun 28, 2022 · 3 comments
Closed
6 tasks done

Run Selection [F8] Double sends #4055

jhoneill opened this issue Jun 28, 2022 · 3 comments
Labels
Issue-Bug A bug to squash. Resolution-Duplicate Will close automatically.

Comments

@jhoneill
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 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

This has been driving me mad in recent days, and I just tried the using the Windows 11 Sandbox for

  • Clean OS,
  • fresh install of VS Code 1.68.1
  • no user settings (changed color theme),
  • no PowerShell Profile,
  • no extensions except for PowerShell (2022.6.1) / PowerShell Preview (2022.6.2)
  • Windows PowerShell 5.1 (also happens with PowerShell 7.2.4 / 7.2.5)

PowerShell Version

$PSVersionTable                     

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

Name                           Value
----                           -----
PSVersion                      7.2.5
PSEdition                      Core
GitCommitId                    7.2.5
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

.\code.cmd --version

1.68.1
30d9c6cd9483b2cc586687151bcbcd635f373630
x64

Extension Version

> .\code.cmd --list-extensions --show-versions
[email protected]
[email protected]

Steps to Reproduce

Create a new PS1 file
Insert a couple of lines I used

$PSVersionTable
 
$psr = Get-Module PSReadLine

Highlight one and press F8, if that doesn't produce double output try the other.

Visuals

image

Logs

Let me know if logs are needed - the above should be sufficient

@jhoneill jhoneill added the Issue-Bug A bug to squash. label Jun 28, 2022
@ghost ghost added the Needs: Triage Maintainer attention needed! label Jun 28, 2022
@andyleejordan
Copy link
Member

Duplicate of #4041, you indicated that you followed this instruction:

I have searched all issues to ensure it has not already been reported.

I am curious what you searched such that it did not come up? Thanks!

@andyleejordan andyleejordan added Resolution-Duplicate Will close automatically. and removed Needs: Triage Maintainer attention needed! labels Jun 28, 2022
@jhoneill
Copy link
Author

jhoneill commented Jun 28, 2022

sorry @andschwa

Here's the search results
image

I didn't remove the IsOpen , it first happened to me less than a week ago, and I didn't allow for a fix being reported and the issue closed in such a short space of time. You're too darned efficient :-)

Looks like someone else was reporting it at the same time as I was too.

@andyleejordan
Copy link
Member

Thank you! It was a serious question, I'm going to update the template to be sure it mentions open and closed results!

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

2 participants