You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The erroneous whitespace is between the two extents, so removal needs to happen from the last line of the left extent to the first line of the right extent.
Summary
When I enable the setting "powershell.codeFormatting.whitespaceBetweenParameters", a part of my code is deleted and replaced with the string "Co".
(Reported it here too, but this seems to be the right place..)
PowerShell Version
Visual Studio Code Version
Extension Version
[email protected]
Steps to Reproduce
Enable the setting "powershell.codeFormatting.whitespaceBetweenParameters":
workspace.json
Testie.ps1
Now press "SHIFT + ALT + F" and see the new broken code:
When the setting "powershell.codeFormatting.whitespaceBetweenParameters" is
false
, the issue isn't happening.Visuals
From:
To:
Logs
No response
The text was updated successfully, but these errors were encountered: