Skip to content

Formatter inserts space in between open brace and curly brace for .Where() and .ForEach() methods #970

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

Closed
kborowinski opened this issue Jul 23, 2017 · 2 comments
Labels

Comments

@kborowinski
Copy link

kborowinski commented Jul 23, 2017

System Details

  • Operating system name and version: Windows 10.0.15063 x64
  • VS Code version: 1.14.2
  • PowerShell extension version: 1.4.1
  • Output from $PSVersionTable:
Name                           Value
----                           -----
PSVersion                      5.1.15063.483
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.15063.483
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

Formatter inserts space in between open brace and curly brace for .Where() and .ForEach() methods.

formatting

@DarkLite1
Copy link

Duplicate with #576

@TylerLeonhardt
Copy link
Member

Thanks @DarkLite1! Yes that looks like a duplicate. This is being/has been fixed on the PSScriptAnalyzer side.

Take a look at #576 for more info.

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

No branches or pull requests

4 participants