File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 408
408
"default" : true ,
409
409
"description" : " Does not reformat one-line code blocks, such as \" if (...) {...} else {...}\" ."
410
410
},
411
+ "powershell.codeFormatting.alignAssignmentsInHashtable" : {
412
+ "type" : " boolean" ,
413
+ "default" : true ,
414
+ "description" : " Align assignment statements in a hashtable."
415
+ },
411
416
"powershell.integratedConsole.showOnStartup" : {
412
417
"type" : " boolean" ,
413
418
"default" : true ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export interface ICodeFormattingSettings {
15
15
whitespaceAroundOperator : boolean ;
16
16
whitespaceAfterSeparator : boolean ;
17
17
ignoreOneLineBlock : boolean ;
18
+ alignAssignmentsInHashtable : boolean ;
18
19
}
19
20
20
21
export interface IScriptAnalysisSettings {
@@ -71,7 +72,8 @@ export function load(myPluginId: string): ISettings {
71
72
whitespaceBeforeOpenParen : true ,
72
73
whitespaceAroundOperator : true ,
73
74
whitespaceAfterSeparator : true ,
74
- ignoreOneLineBlock : true
75
+ ignoreOneLineBlock : true ,
76
+ alignAssignmentsInHashtable : true
75
77
} ;
76
78
77
79
let defaultIntegratedConsoleSettings : IIntegratedConsoleSettings = {
You can’t perform that action at this time.
0 commit comments