Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Mao new powershell.codeformatting settings WhitespaceInsideBrace and …
…WhitespaceAroundPipe to PSSA settings hash table (#835)
  • Loading branch information
TylerLeonhardt authored and Christoph Bergmeister (MVP) committed Mar 20, 2019
commit 78d3d7306590dfafcee9e86e3680a400e9453d19
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ public CodeFormattingSettings(CodeFormattingSettings codeFormattingSettings)
public bool WhitespaceBeforeOpenParen { get; set; }
public bool WhitespaceAroundOperator { get; set; }
public bool WhitespaceAfterSeparator { get; set; }
public bool WhitespaceInsideBrace { get; set; }
public bool WhitespaceAroundPipe { get; set; }
public bool IgnoreOneLineBlock { get; set; }
public bool AlignPropertyValuePairs { get; set; }
public bool UseCorrectCasing { get; set; }
Expand Down Expand Up @@ -278,7 +280,9 @@ private Hashtable GetCustomPSSASettingsHashtable(int tabSize, bool insertSpaces)
{"CheckOpenBrace", WhitespaceBeforeOpenBrace},
{"CheckOpenParen", WhitespaceBeforeOpenParen},
{"CheckOperator", WhitespaceAroundOperator},
{"CheckSeparator", WhitespaceAfterSeparator}
{"CheckSeparator", WhitespaceAfterSeparator},
{"CheckInnerBrace", WhitespaceInsideBrace},
{"CheckPipe", WhitespaceAroundPipe},
}},
{"PSAlignAssignmentStatement", new Hashtable {
{"Enable", true},
Expand Down