// https://code.visualstudio.com/docs/getstarted/settings#_workspace-settings { "editor.rulers": [ { "color": "#c58414", "column": 100 }, { "color": "#ab0707", "column": 120 } ], "editor.codeActionsOnSave": { "source.fixAll.markdownlint": "explicit" }, "editor.defaultFormatter": null, "editor.formatOnSave": true, "editor.formatOnPaste": true, "editor.tabSize": 4, "editor.insertSpaces": true, "editor.renderWhitespace": "all", "editor.renderControlCharacters": true, "files.insertFinalNewline": true, "files.trimFinalNewlines": true, "files.trimTrailingWhitespace": true, "files.eol": "\n", "files.associations": { "*.md": "markdown", "**/*.yml": "azure-pipelines", "**/arm-*.json": "arm-template", "*.json": "json", "*.xml": "xml", "*.nuspec": "xml", "*.config": "xml", "*.sql": "sql", "*.tf": "terraform", "*.tfvars": "terraform", ".github/workflow/*.yml": "github-actions" }, "[terraform]": { "editor.defaultFormatter": "hashicorp.terraform" }, "[azure-pipelines]": { // no format, keep outlined comments and variables "editor.formatOnSave": false, "editor.formatOnPaste": false //"editor.defaultFormatter": "esbenp.prettier-vscode", }, "[plaintext]": { "editor.unicodeHighlight.ambiguousCharacters": true, "editor.unicodeHighlight.invisibleCharacters": true, "editor.formatOnSave": false, "files.insertFinalNewline": false }, "[markdown]": { "editor.defaultFormatter": "yzhang.markdown-all-in-one", "files.trimTrailingWhitespace": true, "files.insertFinalNewline": true }, "[powershell]": { "editor.defaultFormatter": "ms-vscode.powershell", "editor.language.brackets": [ [ "{", "}" ], [ "(", ")" ], [ "#region", "#endregion" ] ] }, "[csharp]": { "editor.defaultFormatter": "csharpier.csharpier-vscode" }, "[bicep]": { "editor.defaultFormatter": "ms-azuretools.vscode-bicep", "editor.tabSize": 2 }, "[css]": { "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.suggest.insertMode": "replace" }, "[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.suggest.insertMode": "replace", "editor.formatOnType": true }, "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[arm-template]": { "editor.defaultFormatter": "msazurermtools.azurerm-vscode-tools" }, "[github-actions]": { "editor.defaultFormatter": "github.vscode-github-actions" } "files.autoSave": "off", "git.autofetch": true, "markdown.extension.tableFormatter.normalizeIndentation": true, "markdown.extension.orderedList.autoRenumber": false, "powershell.codeFormatting.autoCorrectAliases": true, "powershell.codeFormatting.useCorrectCasing": true, "powershell.codeFormatting.alignPropertyValuePairs": true, "powershell.codeFormatting.addWhitespaceAroundPipe": true, "powershell.codeFormatting.avoidSemicolonsAsLineTerminators": false, "powershell.codeFormatting.ignoreOneLineBlock": true, "powershell.codeFormatting.openBraceOnSameLine": true, "powershell.codeFormatting.trimWhitespaceAroundPipe": true, "powershell.codeFormatting.whitespaceAfterSeparator": true, "powershell.codeFormatting.whitespaceAroundOperator": true, "powershell.codeFormatting.whitespaceBeforeOpenBrace": true, "powershell.codeFormatting.newLineAfterOpenBrace": true, "powershell.codeFormatting.whitespaceBeforeOpenParen": true, "powershell.codeFormatting.newLineAfterCloseBrace": true, "powershell.codeFormatting.whitespaceInsideBrace": true, "powershell.codeFormatting.whitespaceBetweenParameters": false, "powershell.codeFormatting.useConstantStrings": false, "powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline", // https://learn.microsoft.com/en-us/powershell/utility-modules/psscriptanalyzer/rules/useconsistentindentation "powershell.codeFormatting.preset": "OTBS", //https://poshcode.gitbook.io/powershell-practice-and-style/style-guide/code-layout-and-formatting#one-true-brace-style "powershell.integratedConsole.showOnStartup": true, "powershell.integratedConsole.suppressStartupBanner": true, "powershell.powerShellDefaultVersion": "PowerShell (x64)", "powershell.promptToUpdatePowerShell": true, "prettier.disableLanguages": [ "yml", "yaml", ], "window.title": "${folderName}" //https://code.visualstudio.com/updates/v1_10#_configurable-window-title }