Formatting code with 2 spaces after a parenthesis, eats up all the code #4866
Labels
Area-Code Formatting
Issue-Bug
A bug to squash.
Needs: Maintainer Attention
Maintainer attention needed!
Prerequisites
Summary
if you try to format a code that has a multiline parenthesis, and 2 spaces before the first command argument after the closing parenthesis, the code disappears from the 3 character of the first line, to the argument that follows the double space.
PowerShell Version
Visual Studio Code Version
Extension Version
ms-vscode.powershell@2023.8.0
Steps to Reproduce
try to format this (note the TWO spaces before
-RepeatHeader
):it becomes:
Visuals
2023-12-18_11-31-05.online-video-cutter.com.1.mp4
Logs
No response
The text was updated successfully, but these errors were encountered: