Skip to content

Commit 8bddfb9

Browse files
committed
Converted code formatting strings to imperative. Corrected PSScriptAnalyzer module version info.
1 parent 0884e5a commit 8bddfb9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
"powershell.scriptAnalysis.enable": {
333333
"type": "boolean",
334334
"default": true,
335-
"description": "Enables real-time script analysis from PowerShell Script Analyzer. This extension uses the PSScriptAnalyzer module in $home/.vscode/extensions/ms-vscode.PowerShell-<version>/modules/PSScriptAnalyzer"
335+
"description": "Enables real-time script analysis from PowerShell Script Analyzer. Uses the newest installed version of the PSScriptAnalyzer module or the version bundled with this extension, if it is newer."
336336
},
337337
"powershell.scriptAnalysis.settingsPath": {
338338
"type": "string",
@@ -376,37 +376,37 @@
376376
"powershell.codeFormatting.newLineAfterOpenBrace": {
377377
"type": "boolean",
378378
"default": true,
379-
"description": "A new line must follow an open brace."
379+
"description": "Adds a newline (line break) after an open brace."
380380
},
381381
"powershell.codeFormatting.newLineAfterCloseBrace": {
382382
"type": "boolean",
383383
"default": true,
384-
"description": "A new line must follow a close brace."
384+
"description": "Adds a newline (line break) after a closing brace."
385385
},
386386
"powershell.codeFormatting.whitespaceBeforeOpenBrace": {
387387
"type": "boolean",
388388
"default": true,
389-
"description": "There must be a whitespace between a keyword and its associated scriptblock expression."
389+
"description": "Adds a space between a keyword and its associated scriptblock expression."
390390
},
391391
"powershell.codeFormatting.whitespaceBeforeOpenParen": {
392392
"type": "boolean",
393393
"default": true,
394-
"description": "There must be whitespace between an keyword (if, elseif, while, switch, etc) and its associated conditional expression."
394+
"description": "Adds a space between a keyword (if, elseif, while, switch, etc) and its associated conditional expression."
395395
},
396396
"powershell.codeFormatting.whitespaceAroundOperator": {
397397
"type": "boolean",
398398
"default": true,
399-
"description": "There must be whitespaces around both sides of a binary or assignment operator ('=', '+', '-', etc.)."
399+
"description": "Adds spaces before and after an operator ('=', '+', '-', etc.)."
400400
},
401401
"powershell.codeFormatting.whitespaceAfterSeparator": {
402402
"type": "boolean",
403403
"default": true,
404-
"description": "There must be a whitespaces after a separator (',' and ';')."
404+
"description": "Adds a space after a separator (',' and ';')."
405405
},
406406
"powershell.codeFormatting.ignoreOneLineBlock": {
407407
"type": "boolean",
408408
"default": true,
409-
"description": "Ignore blocks of code on one line. For example, if true, the braces in \"if (...) {...} else {...}\", will not be formatted."
409+
"description": "Does not reformat one-line code blocks, such as \"if (...) {...} else {...}\"."
410410
},
411411
"powershell.integratedConsole.showOnStartup": {
412412
"type": "boolean",

0 commit comments

Comments
 (0)