Skip to content

Instantly share code, notes, and snippets.

@ironcladlou
Last active February 20, 2020 21:09
Show Gist options
  • Save ironcladlou/aeb8f926928d21bd969368c1958dde41 to your computer and use it in GitHub Desktop.
Save ironcladlou/aeb8f926928d21bd969368c1958dde41 to your computer and use it in GitHub Desktop.
Kubernetes VSCode Settings
// This is the project settings.json in the .vscode directory
{
"files.exclude": {
"staging": true,
},
"go.goroot": "/Users/dmace/.go/1.13.8",
"go.gopath": "/Users/dmace/Projects/kubernetes",
"go.toolsEnvVars": {
"GO111MODULE": "off",
"GOFLAGS": ""
},
"go.gotoSymbol.ignoreFolders": [
"staging"
],
}
// This is the global settings.json
{
// ... other non-Go settings omitted
"go.useLanguageServer": true,
"[go]": {
"editor.snippetSuggestions": "none",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
}
},
"gopls": {
"usePlaceholders": false, // add parameter placeholders when completing a function
// Experimental settings
"completeUnimported": false, // autocomplete unimported packages
"deepCompletion": true, // enable deep completion
},
"go.goroot": "/Users/dmace/.go/1.13.8",
"go.toolsGopath": "/Users/dmace/go",
"go.alternateTools": {
"go": "/Users/dmace/go"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment