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

Weird formatting issues #3928

Closed
6 tasks done
PrzemyslawKlys opened this issue Apr 19, 2022 · 3 comments · Fixed by PowerShell/PowerShellEditorServices#1764
Closed
6 tasks done

Weird formatting issues #3928

PrzemyslawKlys opened this issue Apr 19, 2022 · 3 comments · Fixed by PowerShell/PowerShellEditorServices#1764
Assignees
Labels

Comments

@PrzemyslawKlys
Copy link
Contributor

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

From time to time I have these weird formatting issues with new previews where even tho there are no errors and everything is great when I do formatting - this:
image

changes to:

image

Restarting the session fixes the issue, but I have not been able to track why this even happens. It's like the engine randomly thinks something different is being tracked.

PowerShell Version

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

Visual Studio Code Version

1.66.2
dfd34e8260c270da74b5c2d86d61aee4b6d56977
x64

Extension Version

ms-vscode.powershell@2021.12.0
ms-vscode.powershell-preview@2022.4.1
tobysmith568.run-in-powershell@1.1.1
TylerLeonhardt.vscode-inline-values-powershell@0.0.5

Steps to Reproduce

Unfortunately no idea.

Visuals

No response

Logs

No response

@PrzemyslawKlys PrzemyslawKlys added the Issue-Bug A bug to squash. label Apr 19, 2022
@ghost ghost added the Needs: Triage Maintainer attention needed! label Apr 19, 2022
@JustinGrote
Copy link
Collaborator

Possibly related/dupe of #3926

@andyleejordan
Copy link
Member

Does it ever repro when you're using PowerShell 7?

@PrzemyslawKlys
Copy link
Contributor Author

Hard to say, I run PS 7 occasionally, but I'll keep this in mind if it happens again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants