Skip to content

Instantly share code, notes, and snippets.

@getsec
Created November 22, 2021 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save getsec/96eaf2da8b248e81756f40c3eb9942ac to your computer and use it in GitHub Desktop.
Save getsec/96eaf2da8b248e81756f40c3eb9942ac to your computer and use it in GitHub Desktop.
vscode - formatted settings
{
// FILE SPECIFIC CONFIG
"[hcl]": {
"editor.defaultFormatter": "hashicorp.terraform",
"editor.formatOnSave": true
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file"
},
"[terraform]": {
"editor.defaultFormatter": "hashicorp.terraform",
"editor.formatOnSave": true
},
"autoDocstring.docstringFormat": "google",
"autoDocstring.guessTypes": false,
"autoDocstring.startOnNewLine": true,
// EDITOR SPECIFIC CONFIG
"breadcrumbs.enabled": false,
"breadcrumbs.filePath": "last",
"editor.codeLens": true,
"editor.defaultFormatter": "ms-python.vscode-pylance",
"editor.fontFamily": "JetBrains Mono",
"editor.fontLigatures": true,
"editor.fontWeight": "normal",
"editor.glyphMargin": false,
"editor.inlineSuggest.enabled": true,
"editor.largeFileOptimizations": false,
"editor.minimap.enabled": false,
"editor.suggestSelection": "first",
"explorer.confirmDragAndDrop": false,
"files.associations": {
"*.hcl": "terraform",
"*.py": "python",
"*.tf": "terraform"
},
"files.autoSave": "onFocusChange",
"files.exclude": {
"**/.terraform.lock*": true
},
"files.trimTrailingWhitespace": true,
"git.autofetch": true,
"git.enableSmartCommit": true,
"gitlens.codeLens.authors.command": false,
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.enabled": false,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.currentLine.enabled": true,
"json.maxItemsComputed": 50000,
"python.analysis.completeFunctionParens": true,
"python.defaultInterpreterPath": "/usr/bin/python3",
"python.formatting.provider": "black",
"python.languageServer": "Pylance",
"python.pythonPath": "/usr/bin/python3",
"redhat.telemetry.enabled": false,
"security.workspace.trust.banner": "never",
"security.workspace.trust.untrustedFiles": "open",
"terminal.integrated.fontFamily": "JetBrains Mono",
"terminal.integrated.fontSize": 12,
"terminal.integrated.fontWeight": "normal",
"terraform.languageServer": {
"external": true
},
"vsicons.dontShowNewVersionMessage": true,
"window.zoomLevel": 1,
"workbench.colorCustomizations": {
"editorRuler.foreground": "#3b4444"
},
"workbench.colorTheme": "Ayu One",
"workbench.iconTheme": "Monokai Pro Icons",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment