@@ -14,6 +14,12 @@ enum CodeFormattingPreset {
1414 Stroustrup ,
1515}
1616
17+ enum PipelineIndentationStyle {
18+ IncreaseIndentationForFirstPipeline ,
19+ IncreaseIndentationAfterEveryPipeline ,
20+ NoIndentation ,
21+ }
22+
1723export enum HelpCompletion {
1824 Disabled = "Disabled" ,
1925 BlockComment = "BlockComment" ,
@@ -39,12 +45,16 @@ export interface ICodeFormattingSettings {
3945 openBraceOnSameLine : boolean ;
4046 newLineAfterOpenBrace : boolean ;
4147 newLineAfterCloseBrace : boolean ;
48+ pipelineIndentationStyle : PipelineIndentationStyle ;
4249 whitespaceBeforeOpenBrace : boolean ;
4350 whitespaceBeforeOpenParen : boolean ;
4451 whitespaceAroundOperator : boolean ;
4552 whitespaceAfterSeparator : boolean ;
53+ WhitespaceInsideBrace : true ;
54+ WhitespaceAroundPipe : true ;
4655 ignoreOneLineBlock : boolean ;
4756 alignPropertyValuePairs : boolean ;
57+ useCorrectCasing : boolean ;
4858}
4959
5060export interface IScriptAnalysisSettings {
@@ -125,12 +135,16 @@ export function load(): ISettings {
125135 openBraceOnSameLine : true ,
126136 newLineAfterOpenBrace : true ,
127137 newLineAfterCloseBrace : true ,
138+ pipelineIndentationStyle : PipelineIndentationStyle . IncreaseIndentationForFirstPipeline ,
128139 whitespaceBeforeOpenBrace : true ,
129140 whitespaceBeforeOpenParen : true ,
130141 whitespaceAroundOperator : true ,
131142 whitespaceAfterSeparator : true ,
143+ WhitespaceInsideBrace : true ,
144+ WhitespaceAroundPipe : true ,
132145 ignoreOneLineBlock : true ,
133146 alignPropertyValuePairs : true ,
147+ useCorrectCasing : true ,
134148 } ;
135149
136150 const defaultIntegratedConsoleSettings : IIntegratedConsoleSettings = {
0 commit comments