Skip to content

Instantly share code, notes, and snippets.

@jittuu
Created June 7, 2021 05:28
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 jittuu/35e86340bc39bbc1fc2b59648bed338e to your computer and use it in GitHub Desktop.
Save jittuu/35e86340bc39bbc1fc2b59648bed338e to your computer and use it in GitHub Desktop.
{
"go.toolsManagement.autoUpdate": true,
"go.useLanguageServer": true,
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"],
"go.addTags": {
"options": "json="
},
"[go]": {
"editor.defaultFormatter": "golang.go",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
// Optional: Disable snippets, as they conflict with completion ranking.
"editor.snippetSuggestions": "none"
},
"[go.mod]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"files.autoSave": "afterDelay"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment