Created
June 7, 2021 05:28
-
-
Save jittuu/35e86340bc39bbc1fc2b59648bed338e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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