.vscode/settings.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    // shamelessly pulled from https://raw.githubusercontent.com/sqlcollaborative/dbatools/development/.vscode/settings.json
    // formatting style this project adheres to: https://en.wikipedia.org/wiki/Indentation_style#Variant:_1TBS_(OTBS)
    "powershell.codeFormatting.preset": "OTBS",
    // editor settings for formatting standards on this project
    "editor.tabSize": 4,
    "editor.detectIndentation": false,
    "editor.insertSpaces": true,
    "editor.formatOnSave": true,
    // editor settings that will auto add the closing quote or curly brace
    "editor.autoClosingBrackets": "always",
    "editor.autoClosingQuotes": "always",
    "editor.autoSurround": "languageDefined",
    // now your double clicks on a variable names include the dollar sign '$'
    // https://twitter.com/TylerLeonhardt/status/1102749805233737729
    "[powershell]": {
        "editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?"
    },
    "powershell.codeFormatting.addWhitespaceAroundPipe": true
}