@@ -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,12 +45,16 @@ 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 ;
45
52
whitespaceAfterSeparator : boolean ;
53
+ WhitespaceInsideBrace : true ;
54
+ WhitespaceAroundPipe : true ;
46
55
ignoreOneLineBlock : boolean ;
47
56
alignPropertyValuePairs : boolean ;
57
+ useCorrectCasing : boolean ;
48
58
}
49
59
50
60
export interface IScriptAnalysisSettings {
@@ -125,12 +135,16 @@ export function load(): ISettings {
125
135
openBraceOnSameLine : true ,
126
136
newLineAfterOpenBrace : true ,
127
137
newLineAfterCloseBrace : true ,
138
+ pipelineIndentationStyle : PipelineIndentationStyle . IncreaseIndentationForFirstPipeline ,
128
139
whitespaceBeforeOpenBrace : true ,
129
140
whitespaceBeforeOpenParen : true ,
130
141
whitespaceAroundOperator : true ,
131
142
whitespaceAfterSeparator : true ,
143
+ WhitespaceInsideBrace : true ,
144
+ WhitespaceAroundPipe : true ,
132
145
ignoreOneLineBlock : true ,
133
146
alignPropertyValuePairs : true ,
147
+ useCorrectCasing : true ,
134
148
} ;
135
149
136
150
const defaultIntegratedConsoleSettings : IIntegratedConsoleSettings = {
0 commit comments