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
Thanks for taking the time to report the issue.
Have you set the VS-Code setting powershell.codeFormatting.pipelineIndentationStyle to a non-default value (default is NoIndentation)?
I cannot reproduce with the default setup. For non-default values of this setting, I can reproduce using the currently release version of 1.18.3, but PR #1359 has fixed this case already (i.e. does not reproduce using a build of the master branch any more) therefore the next release should have this also fixed for non-default values.
Steps to reproduce
Input script, formatted already as expected.
Expected behavior
The example above after formatted looks the same.
Actual behavior
After a chain of more than 2 commands which spans several lines, the formatter loses one level of indentation. Using
$(...)
triggers the same problem.Environment data
The text was updated successfully, but these errors were encountered: