Ressources/FRPSUGModuleTemplate/vscode/settings.json

{
  "files.defaultLanguage": "powershell",
  "powershell.startAutomatically": true,
  "powershell.scriptAnalysis.enable": true,
  "powershell.integratedConsole.showOnStartup": true,
  "powershell.codeFormatting.preset": "Custom",
  "powershell.codeFormatting.openBraceOnSameLine": false,
  "powershell.codeFormatting.newLineAfterOpenBrace": true,
  "powershell.codeFormatting.newLineAfterCloseBrace": true,
  "powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
  "powershell.codeFormatting.whitespaceBeforeOpenParen": true,
  "powershell.codeFormatting.whitespaceAroundOperator": true,
  "powershell.codeFormatting.whitespaceAfterSeparator": true,
  "powershell.codeFormatting.ignoreOneLineBlock": false,
  "files.trimTrailingWhitespace": true,
  "[powershell]": {
    "editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?"
  },
  "[json]": {
    // Number of spaces for tabs
    "editor.tabSize": 2
  },
  "files.associations": {
    "*.ps1xml": "xml"
  },
  "powershell.scriptAnalysis.settingsPath": ".vscode/PSScriptAnalyzerSettings.psd1",
  "editor.tabSize": 4,
  "editor.formatOnSave": true,
  "editor.formatOnType": true,
  "editor.formatOnPaste": true,
  "files.encoding": "utf8bom",
  "git.enableSmartCommit": true,
  "git.autofetch": true,
  "cSpell.language": "en,en-US,fr,fr-FR",
  "cSpell.enableFiletypes": [
    "git-commit",
    "git-rebase",
    "json",
    "markdown",
    "powershell",
    "yaml",
    "yml",
    "azure-pipelines",
    "jsonc"
  ],
}