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
Please provide the version of the extension and make sure you use the latest one. If you use the stable extension, then installing the latest PSScriptAnalyzer module and restarting the integrated terminal should fix it.
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)
The text was updated successfully, but these errors were encountered: