Visual Studio Code User Settings that I currently use. Heavy focus on PowerShell, Python, AWS, and Azure.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
//USEFUL INFORMATION | |
//https://code.visualstudio.com/docs/editor/settings-sync | |
//https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions | |
//https://github.com/microsoft/cascadia-code/blob/master/README.md | |
//https://github.com/adam7/delugia-code/releases | |
// @installed | |
// @category:"themes" | |
// @popular | |
//SYNC SETTINGS | |
"settingsSync.ignoredSettings": [ | |
"aws.profile", | |
"code-runner.executorMap", | |
"code-runner.clearPreviousOutput", | |
"code-runner.showExecutionMessage", | |
"code-runner.ignoreSelection", | |
"code-runner.saveFileBeforeRun", | |
], | |
"settingsSync.ignoredExtensions": [ | |
"amazonwebservices.aws-toolkit-vscode", | |
"aws-scripting-guy.cform", | |
"DanielThielking.aws-cloudformation-yaml", | |
"kddejong.vscode-cfn-lint", | |
"formulahendry.code-runner", | |
"almenon.arepl" | |
], | |
//SPECIAL SETTINGS | |
"github.copilot.enable": { | |
"*": true, | |
"yaml": false, | |
"plaintext": false, | |
"markdown": false | |
}, | |
"telemetry.telemetryLevel": "off", | |
//SETTINGS CHANGES | |
"breadcrumbs.enabled": false, | |
"explorer.confirmDragAndDrop": false, | |
"extensions.autoUpdate": false, //currently locked to v2.4.4 | |
"git.confirmSync": false, | |
"omnisharp.projectLoadTimeout": 120, | |
"security.workspace.trust.untrustedFiles": "open", | |
"workbench.colorTheme": "Dark+ Material", | |
"workbench.editor.highlightModifiedTabs": true, | |
"workbench.editor.titleScrollbarSizing": "large", | |
"workbench.editorAssociations": { | |
"*.ipynb": "jupyter.notebook.ipynb" | |
}, | |
"workbench.settings.editor": "json", | |
"workbench.tree.indent": 15, | |
//editor | |
"editor.acceptSuggestionOnEnter": "off" , | |
"editor.accessibilitySupport": "off", | |
"editor.autoClosingQuotes": "never", | |
"editor.autoSurround": "never", | |
"editor.bracketPairColorization.enabled": true, | |
"editor.cursorBlinking": "expand", | |
"editor.detectIndentation": false, | |
"editor.fastScrollSensitivity": 6, | |
// "editor.fontFamily": "Lucida Console", | |
// "editor.fontFamily": "Fira Code", | |
// "editor.fontFamily": "Fira Code Retina", | |
// "editor.fontFamily": "Consolas", | |
"editor.fontFamily": "'CaskaydiaCove NF','Delugia Mono Nerd Font','Cascadia Mono','Delugia Nerd Font','Cascadia Code','Consolas','Courier New','monospace'", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 15, | |
"editor.guides.indentation": true, | |
"editor.guides.bracketPairs": true, | |
"editor.guides.highlightActiveIndentation": true, | |
"editor.inlineSuggest.enabled": true, | |
"editor.insertSpaces": true, | |
"editor.minimap.enabled": false, | |
"editor.mouseWheelZoom": true, | |
"editor.quickSuggestionsDelay": 1, | |
"editor.renderWhitespace": "all", | |
"editor.renderControlCharacters": true, | |
"editor.suggestSelection": "first", | |
"editor.snippetSuggestions": "inline", | |
"editor.tabCompletion": "on", | |
// zenMode - full screen editing changes | |
"zenMode.centerLayout": false, | |
"zenMode.fullScreen": true, | |
"zenMode.hideLineNumbers": false, | |
"zenMode.hideTabs": false, | |
"window.zoomLevel": 1, | |
"window.title": "${activeEditorLong}", | |
//files | |
"files.trimTrailingWhitespace": true, | |
"files.defaultLanguage": "powershell", | |
"workbench.iconTheme": "material-icon-theme", | |
"material-icon-theme.showWelcomeMessage": false, | |
//TERMINAL | |
"terminal.integrated.scrollback": 8000, | |
"terminal.integrated.defaultProfile.windows": "PowerShell with Profile", | |
"terminal.integrated.fontFamily": "'CaskaydiaCove NF','Delugia Mono Nerd Font','Cascadia Mono','Delugia Nerd Font','Cascadia Code','Consolas','Courier New','monospace'", | |
"powershell.powerShellAdditionalExePaths": [ | |
{ | |
"exePath": "C:\\Program Files\\PowerShell\\7\\pwsh.exe", | |
"versionName": "PS7" | |
}, | |
{ | |
"exePath": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"versionName": "PS5.1" | |
} | |
], | |
"terminal.integrated.fontSize": 15, | |
"terminal.integrated.profiles.windows": { | |
"PowerShell": { | |
"source": "PowerShell", | |
"icon": "terminal-powershell" | |
}, | |
"Command Prompt": { | |
"path": [ | |
"${env:windir}\\Sysnative\\cmd.exe", | |
"${env:windir}\\System32\\cmd.exe" | |
], | |
"args": [], | |
"icon": "terminal-cmd" | |
}, | |
"Git Bash": { | |
"source": "Git Bash" | |
}, | |
"PowerShell with Profile": { | |
"source": "PowerShell" | |
// "args": [ | |
// "-NoProfile" | |
// ] | |
}, | |
"PowerShell NoProfile": { | |
"source": "PowerShell", | |
"args": [ | |
"-NoProfile" | |
] | |
}, | |
"Windows PowerShell": { | |
"path": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" | |
}, | |
"Python": { | |
"path": "C:\\Python39\\python.exe" | |
} | |
}, | |
//LANGUAGE SPECIFIC CHANGES | |
//PowerShell | |
"powershell.codeFormatting.preset": "Stroustrup", | |
"powershell.codeFormatting.ignoreOneLineBlock": false, | |
"powershell.codeFormatting.autoCorrectAliases": true, | |
"powershell.developer.editorServicesLogLevel": "Normal", | |
"powershell.developer.featureFlags": [ | |
"PSReadLine" | |
], | |
"powershell.powerShellDefaultVersion": "PS7", | |
"powershell.integratedConsole.showOnStartup": true, | |
"powershell.integratedConsole.focusConsoleOnExecute": true, | |
"[powershell]": { | |
"files.encoding": "utf8bom", | |
"files.autoGuessEncoding": true, | |
"editor.formatOnSave": true, | |
"editor.parameterHints.enabled": false, | |
// "editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?", | |
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?" | |
// "editor.semanticHighlighting.enabled": true | |
}, | |
"powershell.promptToUpdatePowerShell": false, | |
"powershell.startAutomatically": true, | |
"powershell.scriptAnalysis.enable": true, | |
//python | |
"python.formatting.provider": "black", | |
// "python.formatting.blackArgs": ["--line-length", "110"], | |
// "python.formatting.blackPath":"c:/python38/lib/site-packages/black", | |
"python.linting.flake8Enabled": true, | |
"python.linting.pylintEnabled": false, | |
"python.linting.enabled": true, | |
"python.testing.pytestEnabled": true, | |
"python.testing.unittestEnabled": false, | |
"[python]": { | |
"editor.formatOnSave": true, | |
"editor.insertSpaces": true, | |
"editor.tabSize": 4 | |
}, | |
"python.testing.autoTestDiscoverOnSaveEnabled": false, | |
"python.languageServer": "Pylance", | |
//csharp | |
// "csharp.suppressDotnetInstallWarning": true, | |
//yaml | |
"yaml.customTags": [ | |
"!And", | |
"!If", | |
"!Not", | |
"!Equals sequence", | |
"!Or", | |
"!FindInMap sequence", | |
"!Base64", | |
"!Cidr", | |
"!Ref", | |
"!Sub", | |
"!GetAtt", | |
"!GetAZs", | |
"!ImportValue", | |
"!Select sequence", | |
"!Split", | |
"!Join sequence", | |
"!And sequence", | |
"!If sequence", | |
"!Not sequence", | |
"!Equals", | |
"!Or sequence", | |
"!FindInMap", | |
"!Join", | |
"!Sub sequence", | |
"!ImportValue sequence", | |
"!Select", | |
"!Split sequence" | |
], | |
//plain | |
"[plaintext]": { | |
"editor.quickSuggestions": false | |
}, | |
//EXTENSION SPECIFIC SETTINGS | |
//aws | |
"aws.profile": "profile:jake", | |
//azure-devops | |
"[azure-pipelines]": { | |
"editor.defaultFormatter": "ms-azure-devops.azure-pipelines" | |
}, | |
//azure-functions | |
"azureFunctions.projectLanguage": "PowerShell", | |
"azureFunctions.projectRuntime": "~3", | |
"azureFunctions.showTargetFrameworkWarning": true, | |
//better comments | |
"better-comments.tags": [ | |
{ | |
"tag": "!", | |
"color": "#FF2D00", | |
"strikethrough": false, | |
"backgroundColor": "transparent" | |
}, | |
{ | |
"tag": "?", | |
"color": "#3498DB", | |
"strikethrough": false, | |
"backgroundColor": "transparent" | |
}, | |
{ | |
"tag": "//", | |
"color": "#474747", | |
"strikethrough": true, | |
"backgroundColor": "transparent" | |
}, | |
{ | |
"tag": "todo", | |
"color": "#FF8C00", | |
"strikethrough": false, | |
"backgroundColor": "transparent" | |
}, | |
{ | |
"tag": "*", | |
"color": "#98C379", | |
"strikethrough": false, | |
"backgroundColor": "transparent" | |
} | |
], | |
//bicep | |
"[bicep]": { | |
"editor.semanticHighlighting.enabled": true, | |
}, | |
"editor.semanticTokenColorCustomizations": { | |
"[]": { | |
"enabled": true | |
} | |
}, | |
//code-runner | |
"code-runner.executorMap": { | |
"python": "$pythonPath -u $fullFileName", | |
"go": "go run", | |
"powershell": "pwsh -ExecutionPolicy ByPass -File", | |
"bat": "cmd /c", | |
"csharp": "scriptcs", | |
"vbscript": "cscript //Nologo", | |
"typescript": "ts-node" | |
}, | |
"code-runner.clearPreviousOutput": true, | |
"code-runner.showExecutionMessage": false, | |
"code-runner.ignoreSelection": true, | |
"code-runner.saveFileBeforeRun": true, | |
//cSpell | |
"cSpell.enabled": true, | |
"cSpell.userWords": [ | |
"Blackbaud", | |
"Blackbaudians", | |
"Datacenter", | |
"endregion", | |
"Leleux", | |
"runbook", | |
"Sisko", | |
"webportal", | |
"webservice" | |
], | |
//redhat | |
"redhat.telemetry.enabled": false, | |
//shell launcher | |
"shellLauncher.shells.windows": [ | |
{ | |
"shell": "C:\\Windows\\system32\\cmd.exe", | |
"label": "cmd" | |
}, | |
{ | |
"shell": "C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"label": "PowerShell 5.1" | |
}, | |
{ | |
"shell": "C:\\Program Files\\PowerShell\\7\\pwsh.exe", | |
"label": "PowerShell 7" | |
}, | |
{ | |
"shell": "C:\\Python39\\python.exe", | |
"label": "Python39" | |
} | |
], | |
//yaml | |
"yaml.validate": false, | |
"yaml.format.singleQuote": true, | |
"[yaml]": { | |
"editor.defaultFormatter": "redhat.vscode-yaml" | |
}, | |
"json.schemas": [] | |
} |
There are some really cool settings. Thanks for the tutorial.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks for the file. Great.