.vscode/settings.json

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