Skip to content

Instantly share code, notes, and snippets.

@nacyot
Created July 18, 2020 12:14
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 nacyot/8ddf4372bd9a9a8ac56fad66706381d4 to your computer and use it in GitHub Desktop.
Save nacyot/8ddf4372bd9a9a8ac56fad66706381d4 to your computer and use it in GitHub Desktop.
VS Code Go LangaugeServer settings.json
{
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
},
"editor.snippetSuggestions": "none",
},
"gopls": {
"hoverKind": "SynopsisDocumentation",
"usePlaceholders": true,
"linkTarget": "pkg.go.dev",
"staticcheck": false,
"completionDocumentation": true,
"completeUnimported": true,
"deepCompletion": true
},
"window.zoomLevel": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment