@@ -14,6 +14,12 @@ enum CodeFormattingPreset {
14
14
Stroustrup ,
15
15
}
16
16
17
+ enum PipelineIndentationStyle {
18
+ IncreaseIndentationForFirstPipeline ,
19
+ IncreaseIndentationAfterEveryPipeline ,
20
+ NoIndentation ,
21
+ }
22
+
17
23
export enum HelpCompletion {
18
24
Disabled = "Disabled" ,
19
25
BlockComment = "BlockComment" ,
@@ -39,6 +45,7 @@ export interface ICodeFormattingSettings {
39
45
openBraceOnSameLine : boolean ;
40
46
newLineAfterOpenBrace : boolean ;
41
47
newLineAfterCloseBrace : boolean ;
48
+ pipelineIndentationStyle : PipelineIndentationStyle ;
42
49
whitespaceBeforeOpenBrace : boolean ;
43
50
whitespaceBeforeOpenParen : boolean ;
44
51
whitespaceAroundOperator : boolean ;
@@ -128,6 +135,7 @@ export function load(): ISettings {
128
135
openBraceOnSameLine : true ,
129
136
newLineAfterOpenBrace : true ,
130
137
newLineAfterCloseBrace : true ,
138
+ pipelineIndentationStyle : PipelineIndentationStyle . IncreaseIndentationForFirstPipeline ,
131
139
whitespaceBeforeOpenBrace : true ,
132
140
whitespaceBeforeOpenParen : true ,
133
141
whitespaceAroundOperator : true ,
0 commit comments