diff --git a/package.json b/package.json index 9b8f1ef1d3..bb68c3c385 100644 --- a/package.json +++ b/package.json @@ -675,12 +675,12 @@ "default": true, "description": "Adds a space after a separator (',' and ';')." }, - "powershell.codeFormatting.WhitespaceInsideBrace": { + "powershell.codeFormatting.whitespaceInsideBrace": { "type": "boolean", "default": true, "description": "Adds a space after an opening brace ('{') and before a closing brace ('}')." }, - "powershell.codeFormatting.WhitespaceAroundPipe": { + "powershell.codeFormatting.whitespaceAroundPipe": { "type": "boolean", "default": true, "description": "Adds a space before and after the pipeline operator ('|')." diff --git a/src/settings.ts b/src/settings.ts index eb1da9778c..dced0bb0e8 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -50,8 +50,8 @@ export interface ICodeFormattingSettings { whitespaceBeforeOpenParen: boolean; whitespaceAroundOperator: boolean; whitespaceAfterSeparator: boolean; - WhitespaceInsideBrace: true; - WhitespaceAroundPipe: true; + whitespaceInsideBrace: true; + whitespaceAroundPipe: true; ignoreOneLineBlock: boolean; alignPropertyValuePairs: boolean; useCorrectCasing: boolean; @@ -146,8 +146,8 @@ export function load(): ISettings { whitespaceBeforeOpenParen: true, whitespaceAroundOperator: true, whitespaceAfterSeparator: true, - WhitespaceInsideBrace: true, - WhitespaceAroundPipe: true, + whitespaceInsideBrace: true, + whitespaceAroundPipe: true, ignoreOneLineBlock: true, alignPropertyValuePairs: true, useCorrectCasing: false,