|
| 1 | +{ |
| 2 | + // |
| 3 | + // Custom Settings for Project |
| 4 | + // |
| 5 | + // These are here so that anyone potentially modifying the code base has the same editor experience, this ensures that the code will follow the same structure. |
| 6 | + |
| 7 | + // Controls whether the editor should render control characters |
| 8 | + "editor.renderControlCharacters": true, // Default: false |
| 9 | + |
| 10 | + // Number of spaces for tabs |
| 11 | + "editor.tabSize": 4, // Default: 4 |
| 12 | + |
| 13 | + // Use spaces not tabs |
| 14 | + "editor.insertSpaces": true, // Default: true |
| 15 | + |
| 16 | + // When enabled, will trim trailing whitespace when you save a file. |
| 17 | + "files.trimTrailingWhitespace": true, // Default: false |
| 18 | + |
| 19 | + // Does not reformat one-line code blocks, such as "if (...) {...} else {...}". |
| 20 | + "powershell.codeFormatting.ignoreOneLineBlock": false, // Default: True |
| 21 | + |
| 22 | + // Adds a newline (line break) after a closing brace. |
| 23 | + "powershell.codeFormatting.newLineAfterCloseBrace": true, // Default: True |
| 24 | + |
| 25 | + // Adds a newline (line break) after an open brace. |
| 26 | + "powershell.codeFormatting.newLineAfterOpenBrace": true, // Default: True |
| 27 | + |
| 28 | + // Places open brace on the same line as its associated statement. |
| 29 | + "powershell.codeFormatting.openBraceOnSameLine": true, // Default: True |
| 30 | + |
| 31 | + // Adds a space after a separator (',' and ';'). |
| 32 | + "powershell.codeFormatting.whitespaceAfterSeparator": true, // Default: True |
| 33 | + |
| 34 | + // Adds spaces before and after an operator ('=', '+', '-', etc.). |
| 35 | + "powershell.codeFormatting.whitespaceAroundOperator": true, // Default: True |
| 36 | + |
| 37 | + // Adds a space between a keyword and its associated scriptblock expression. |
| 38 | + "powershell.codeFormatting.whitespaceBeforeOpenBrace": true, // Default: True |
| 39 | + |
| 40 | + // Adds a space between a keyword (if, elseif, while, switch, etc) and its associated conditional expression. |
| 41 | + "powershell.codeFormatting.whitespaceBeforeOpenParen": true, // Default: True |
| 42 | + |
| 43 | + // Align assignment statements in a hashtable or a DSC Configuration. |
| 44 | + "powershell.codeFormatting.alignPropertyValuePairs": true // Default: True |
| 45 | +} |
0 commit comments