Formatting settings miss certain tokens #5173
Labels
Area-Script Analysis
Issue-Bug
A bug to squash.
Pending: External
This issue is not fixed here, it is fixed in a dependent repo such as PowerShell,PSScriptAnalyzer
Prerequisites
Summary
⚙ powershell.codeFormatting.whitespaceBeforeOpenParen
doesn't add whitespace for theuntil
keyword, but it does forwhile
.⚙ powershell.codeFormatting.whitespaceAroundOperator
doesn't add whitespace around certain unary operators such as-not
and-bnot
, although it does for-join
.while
anduntil
keywords aren't separated from nearby braces the same wayelse
,elseif
, etc. are. This is regardless of the bracket preset: OTBS, Allman, etc.PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Visuals
The expected result would be something like...
However, the actual result is...
Logs
No response
The text was updated successfully, but these errors were encountered: