Files
Chocolatey-tools/.vscode/settings.json
dfrancis-adm 72a469c9b7 Initial
2019-04-25 10:55:56 -04:00

49 lines
2.2 KiB
JSON

{
//
// 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
}