Skip to content

Instantly share code, notes, and snippets.

@JeffreyVdb
Created February 14, 2022 14:56
Show Gist options
  • Save JeffreyVdb/4b4113f171282dbd72b60f1aac53eeec to your computer and use it in GitHub Desktop.
Save JeffreyVdb/4b4113f171282dbd72b60f1aac53eeec to your computer and use it in GitHub Desktop.
VSCode Settings
{
// =======================================
// Editor stlye and default behavior
// =======================================
"editor.minimap.enabled": true,
"editor.fontFamily": "'Cascadia Code Light', 'Jetbrains Mono'",
"editor.fontSize": 13,
"editor.lineHeight": 30,
"editor.fontLigatures": true,
"editor.rulers": [
100,
120
],
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"files.eol": "\n",
// =======================================
// Golang
// =======================================
"go.lintTool": "golangci-lint",
"go.autocompleteUnimportedPackages": true,
"go.formatTool": "gofumports",
"gopls": {
"formatting.gofumpt": true
},
// =======================================
// File associations
// =======================================
"files.associations": {
"**/defaults/**/*": "ansible",
"**/tasks/**/*.yml": "ansible",
"**/handler/*.yml": "ansible",
"**/*_vars/**/*.yml": "ansible",
"**/roles/**/*.yml": "ansible",
"**/playbooks/**/*.yml": "ansible",
"**/*ansible*/**/*.yml": "ansible",
"**/vars/**/*.yml": "ansible",
"**/inventory/*/*": "ansible",
"*.hcl": "terraform"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment