Skip to content

WithSpaceAroundPipe and WhitespaceInsideBrace enabled together with Pipelineindentation.NoIndentation do not always correct #1213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bergmeister opened this issue Apr 11, 2019 · 1 comment

Comments

@bergmeister
Copy link
Collaborator

Transferred from PowerShell/vscode-powershell#1867

Steps to reproduce

format the following with the default vscode settings and Pipelineindentation set to NoIndentation

gmo|
    ? {$_.IsDuck}|
    git

Expected behavior

gmo |
    ? { $_.IsDuck } |
    git

Actual behavior

No change in formatting.

If an unexpected error was thrown then please report the full error details using e.g. $error[0] | Select-Object *

Environment data

PSSA 1.18.0 on Windows with PS 6.2.0

@bergmeister
Copy link
Collaborator Author

Still applies to 1.18.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants