Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Visual Studio Code User Settings that I currently use. Heavy focus on PowerShell, Python, AWS, and Azure.
{
//SETTINGS CHANGES
"breadcrumbs.enabled": false,
"explorer.confirmDragAndDrop": false,
"omnisharp.projectLoadTimeout": 120,
"workbench.settings.editor": "json",
"workbench.tree.indent": 15,
"workbench.editor.titleScrollbarSizing": "large",
//LOOK AND FEEL CHANGES
//editor
"editor.accessibilitySupport": "off",
"editor.autoClosingQuotes": "never",
"editor.autoSurround": "never",
"editor.cursorBlinking": "expand",
"editor.minimap.enabled": false,
"editor.mouseWheelZoom": true,
"editor.quickSuggestionsDelay": 1,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"editor.tabCompletion": "on",
"editor.suggestSelection": "first",
"editor.snippetSuggestions": "bottom",
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?",
// "editor.fontFamily": "Lucida Console",
//https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions
// "editor.fontFamily": "Fira Code",
// "editor.fontFamily": "Fira Code Retina",
//https://github.com/microsoft/cascadia-code/blob/master/README.md
//https://github.com/adam7/delugia-code/releases
"editor.fontFamily": "'CaskaydiaCove NF','Delugia Mono Nerd Font','Cascadia Mono','Delugia Nerd Font','Cascadia Code','Consolas','Courier New','monospace'",
// "editor.fontFamily": "Consolas",
"editor.fontLigatures": true,
"editor.fontSize": 15,
// zenMode - full screen editing changes
"zenMode.centerLayout": false,
"zenMode.fullScreen": true,
"zenMode.hideLineNumbers": false,
"zenMode.hideTabs": false,
//window
"window.zoomLevel": 1,
"window.title": "${activeEditorLong}",
//files
"files.trimTrailingWhitespace": true,
"files.defaultLanguage": "powershell",
//icons & themes & colors
"workbench.colorTheme": "Dark+ Material",
"workbench.iconTheme": "material-icon-theme",
"material-icon-theme.showWelcomeMessage": false,
//TERMINAL
"terminal.integrated.rendererType": "auto",
"terminal.integrated.scrollback": 8000,
"terminal.integrated.fontSize": 15,
"terminal.integrated.fontFamily": "'CaskaydiaCove NF','Delugia Mono Nerd Font','Cascadia Mono','Delugia Nerd Font','Cascadia Code','Consolas','Courier New','monospace'",
//Default Shell
"terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
// "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
// "terminal.integrated.shell.linux": "/snap/powershell/36/opt/powershell/pwsh",
//LANGUAGE SPECIFIC CHANGES
//PowerShell
"powershell.powerShellAdditionalExePaths": [
{
"exePath": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
"versionName": "PS7"
},
{
"exePath": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"versionName": "PS5.1"
},
],
"powershell.powerShellDefaultVersion": "PS7",
"[powershell]": {
"files.encoding": "utf8bom",
"files.autoGuessEncoding": true,
"editor.formatOnSave": true,
"editor.parameterHints.enabled": false,
},
"powershell.codeFormatting.preset": "Stroustrup",
"powershell.codeFormatting.ignoreOneLineBlock": false,
"powershell.codeFormatting.autoCorrectAliases": true,
"powershell.developer.featureFlags": [
"PSReadLine"
],
"powershell.developer.editorServicesLogLevel": "Normal",
"powershell.integratedConsole.showOnStartup": true,
"powershell.integratedConsole.focusConsoleOnExecute": 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.defaultInterpreterPath": "c:\\Python39\\python.exe",
"python.linting.pylintEnabled": false,
"python.linting.enabled": true,
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"[python]": {
"editor.formatOnSave": true,
},
"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
//yaml
"yaml.validate": false,
"yaml.format.singleQuote": true,
//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"
}
],
//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"
}
],
"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,
"mssql.connections": [
{
"server": "{{put-server-name-here}}",
"database": "{{put-database-name-here}}",
"user": "{{put-username-here}}",
"password": "{{put-password-here}}"
}
],
"aws.profile": "profile:jake",
"azureFunctions.projectLanguage": "PowerShell",
"azureFunctions.projectRuntime": "~3",
"azureFunctions.showTargetFrameworkWarning": true,
"workbench.editorAssociations": [
{
"viewType": "jupyter.notebook.ipynb",
"filenamePattern": "*.ipynb"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment