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, and AWS Cloudformation.
{
//SETTINGS CHANGES
"breadcrumbs.enabled": false,
"explorer.confirmDragAndDrop": false,
"omnisharp.projectLoadTimeout": 120,
"workbench.settings.editor": "json",
"workbench.tree.indent": 15,
//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.parameterHints.enabled": false,
"editor.quickSuggestionsDelay": 1,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"editor.tabCompletion": "on",
"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": "'Delugia Nerd Font','Cascadia Code', 'Cascadia Mono', 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": "dom",
"terminal.integrated.scrollback": 8000,
"terminal.integrated.fontSize": 15,
//Default Shell
"terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
// "terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\6\\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:\\Program Files\\PowerShell\\6\\pwsh.exe",
"versionName": "PS6"
},
{
"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
},
"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.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.pythonPath": "C:\\Users\\jakew\\AppData\\Local\\Programs\\Python\\Python38\\python.exe",
//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,
//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\\6\\pwsh.exe",
"label": "PowerShell 6"
},
{
"shell": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
"label": "PowerShell 7"
}
],
//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": "python -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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.