File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
139
139
private readonly ruleOrder : string [ ] = [
140
140
"PSPlaceCloseBrace" ,
141
141
"PSPlaceOpenBrace" ,
142
- "PSUseWhitespace " ,
142
+ "PSUseConsistentWhitespace " ,
143
143
"PSUseConsistentIndentation" ] ;
144
144
145
145
// Allows edits to be undone and redone is a single step.
@@ -334,7 +334,7 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
334
334
ruleSettings [ "IndentationSize" ] = vscode . workspace . getConfiguration ( "editor" ) . get < number > ( "tabSize" ) ;
335
335
break ;
336
336
337
- case "PSUseWhitespace " :
337
+ case "PSUseConsistentWhitespace " :
338
338
ruleSettings [ "CheckOpenBrace" ] = psSettings . codeFormatting . whitespaceBeforeOpenBrace ;
339
339
ruleSettings [ "CheckOpenParen" ] = psSettings . codeFormatting . whitespaceBeforeOpenParen ;
340
340
ruleSettings [ "CheckOperator" ] = psSettings . codeFormatting . whitespaceAroundOperator ;
You can’t perform that action at this time.
0 commit comments