Closed
Description
When enabling whitespaceBetweenParameters code is striped with the whitespace.
Example:
Write-Host $("-" * (Get-Host).UI.RawUI.MaxWindowSize.Width)
Becomes:
Write-Host $("-" (Get-Host)UI.RawUI.MaxWindowSize.Width)
The asterisk is removed
Example:
echo "Math $($x - $y)"
Becomes
Write-Output "Math $($x $y)"
The minus is removed
Example:
Write-Host "Argument $counter :" $arg
Becomes
Write-Host "Argument $counter $arg
One of the quotes and the colon
A post mentions this in another issue:
Originally posted by @PrzemyslawKlys in PowerShell/vscode-powershell#2696 (comment)