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 408408 "default" : true ,
409409 "description" : " Does not reformat one-line code blocks, such as \" if (...) {...} else {...}\" ."
410410 },
411+ "powershell.codeFormatting.alignAssignmentsInHashtable" : {
412+ "type" : " boolean" ,
413+ "default" : true ,
414+ "description" : " Align assignment statements in a hashtable."
415+ },
411416 "powershell.integratedConsole.showOnStartup" : {
412417 "type" : " boolean" ,
413418 "default" : true ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export interface ICodeFormattingSettings {
1515 whitespaceAroundOperator : boolean ;
1616 whitespaceAfterSeparator : boolean ;
1717 ignoreOneLineBlock : boolean ;
18+ alignAssignmentsInHashtable : boolean ;
1819}
1920
2021export interface IScriptAnalysisSettings {
@@ -71,7 +72,8 @@ export function load(myPluginId: string): ISettings {
7172 whitespaceBeforeOpenParen : true ,
7273 whitespaceAroundOperator : true ,
7374 whitespaceAfterSeparator : true ,
74- ignoreOneLineBlock : true
75+ ignoreOneLineBlock : true ,
76+ alignAssignmentsInHashtable : true
7577 } ;
7678
7779 let defaultIntegratedConsoleSettings : IIntegratedConsoleSettings = {
You can’t perform that action at this time.
0 commit comments