2017-11-15 08:18:37 +01:00
// Place your settings in this file to overwrite default and user settings.
{
"editor.tabSize" : 4 ,
"editor.insertSpaces" : true ,
"files.insertFinalNewline" : true ,
// Based on current .markdownlist.json settings:
// https://github.com/PowerShell/PowerShell/blob/master/.markdownlint.json
"markdownlint.config" : {
"MD004" : false ,
"MD024" : false ,
"MD033" : false ,
"MD034" : false ,
"MD038" : false ,
"MD042" : false
} ,
"[powershell]" : {
"files.trimTrailingWhitespace" : true
2017-11-28 18:09:32 +01:00
} ,
// Sets the codeformatting options to follow the given indent style in a way that is compatible with PowerShell syntax. For more information about the brace styles please refer to https://github.com/PoshCode/PowerShellPracticeAndStyle/issues/81.
"powershell.codeFormatting.preset" : "OTBS" ,
2019-01-30 23:10:52 +01:00
2017-11-28 18:09:32 +01:00
// Adds a space between a keyword and its associated scriptblock expression.
"powershell.codeFormatting.whitespaceBeforeOpenBrace" : true ,
2019-01-30 23:10:52 +01:00
2017-11-28 18:09:32 +01:00
// Adds a space between a keyword (if, elseif, while, switch, etc) and its associated conditional expression.
"powershell.codeFormatting.whitespaceBeforeOpenParen" : true ,
2019-01-30 23:10:52 +01:00
2017-11-28 18:09:32 +01:00
// Adds spaces before and after an operator ('=', '+', '-', etc.).
"powershell.codeFormatting.whitespaceAroundOperator" : true ,
2019-01-30 23:10:52 +01:00
2017-11-28 18:09:32 +01:00
// Adds a space after a separator (',' and ';').
2020-01-24 21:22:27 +01:00
"powershell.codeFormatting.whitespaceAfterSeparator" : true ,
// Omnisharp : Enable EditorConfig support
"omnisharp.enableEditorConfigSupport" : true
2017-11-15 08:18:37 +01:00
}