Skip to content

Instantly share code, notes, and snippets.

@cyriltovena
Created March 24, 2020 14:27
Show Gist options
  • Save cyriltovena/d52bf9ae05c371ea0c8018d48d15d6bf to your computer and use it in GitHub Desktop.
Save cyriltovena/d52bf9ae05c371ea0c8018d48d15d6bf to your computer and use it in GitHub Desktop.
my vscode config go lang
{
"go.testFlags": [
"-v",
"-count=1"
],
"go.languageServerExperimentalFeatures": {
"format": false,
"autoComplete": true,
"rename": true,
"goToDefinition": true,
"hover": true,
"signatureHelp": true,
"goToTypeDefinition": true,
"goToImplementation": true,
"documentSymbols": true,
"workspaceSymbols": true,
"findReferences": true,
"diagnostics": true
},
"[go]": {
"editor.codeActionsOnSave": {
"source.organizeImports": false
}
},
"files.eol": "\n",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"editor.rulers": [
80,
120
],
"go.useLanguageServer": true,
"go.lintTool": "golangci-lint",
"go.autocompleteUnimportedPackages": true,
"go.delveConfig": {
"dlvLoadConfig": {
"followPointers": true,
"maxVariableRecurse": 1,
"maxStringLen": 1024,
"maxArrayValues": 64,
"maxStructFields": -1
},
"apiVersion": 2,
"showGlobalVariables": true
},
"go.formatTool": "goimports",
"editor.formatOnSave": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment