Skip to content

Instantly share code, notes, and snippets.

@sbp-bvanb
Last active June 3, 2024 09:20
Show Gist options
  • Save sbp-bvanb/e65bae51a826139f9652c4b5f6d29e2b to your computer and use it in GitHub Desktop.
Save sbp-bvanb/e65bae51a826139f9652c4b5f6d29e2b to your computer and use it in GitHub Desktop.
{
"editor.detectIndentation": false,
"editor.fontLigatures": false,
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.rulers": [80],
//
// golang
// - golang.go
//
"go.buildTags": "integration",
"gopls": {
"formatting.gofumpt": true
},
//
// python
// - ms-python.black-formatter
// - ms-python.debugpy
// - ms-python.python
// - ms-python.vscode-pylance
//
"black-formatter.args": ["--line-length", "80"],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.formatOnType": true
},
"python.defaultInterpreterPath": "python3",
"python.experiments.optOutFrom": [],
//
// yaml
// - redhat.vscode-yaml
//
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
//
// json
// - esbenp.prettier-vscode
//
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"json.format.enable": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment