diff --git a/package.json b/package.json index 10f52f151e..aa59cc55e1 100644 --- a/package.json +++ b/package.json @@ -657,8 +657,8 @@ "NoIndentation", "None" ], - "default": "None", - "description": "Multi-line pipeline style settings (default: None)." + "default": "NoIndentation", + "description": "Multi-line pipeline style settings (default: NoIndentation)." }, "powershell.codeFormatting.whitespaceBeforeOpenBrace": { "type": "boolean", diff --git a/src/settings.ts b/src/settings.ts index 50445d5281..00c98f326f 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -162,7 +162,7 @@ export function load(): ISettings { openBraceOnSameLine: true, newLineAfterOpenBrace: true, newLineAfterCloseBrace: true, - pipelineIndentationStyle: PipelineIndentationStyle.None, + pipelineIndentationStyle: PipelineIndentationStyle.NoIndentation, whitespaceBeforeOpenBrace: true, whitespaceBeforeOpenParen: true, whitespaceAroundOperator: true,