File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,8 @@ class PSDocumentFormattingEditProvider implements
174174 "PSPlaceCloseBrace" ,
175175 "PSPlaceOpenBrace" ,
176176 "PSUseConsistentWhitespace" ,
177- "PSUseConsistentIndentation" ] ;
177+ "PSUseConsistentIndentation" ,
178+ "PSAlignAssignmentStatement" ]
178179
179180 // Allows edits to be undone and redone is a single step.
180181 // It is usefuld to have undo stops after every edit while debugging
@@ -426,6 +427,10 @@ class PSDocumentFormattingEditProvider implements
426427 ruleSettings [ "CheckSeparator" ] = psSettings . codeFormatting . whitespaceAfterSeparator ;
427428 break ;
428429
430+ case "PSAlignAssignmentStatement" :
431+ ruleSettings [ "CheckHashtable" ] = psSettings . codeFormatting . alignAssignmentsInHashtable ;
432+ break ;
433+
429434 default :
430435 break ;
431436 }
You can’t perform that action at this time.
0 commit comments