Skip to content

Instantly share code, notes, and snippets.

@ironcladlou
Last active November 30, 2017 21:30
Show Gist options
  • Save ironcladlou/e16785f1cd8ef82f531a840e88a3dc77 to your computer and use it in GitHub Desktop.
Save ironcladlou/e16785f1cd8ef82f531a840e88a3dc77 to your computer and use it in GitHub Desktop.
VSCode settings for Kubernetes/Origin
export GOROOT="$HOME/.go/dist/go1.9.2"
export GOPATH=$(expand_path .)
export KUBECONFIG=/var/run/kubernetes/admin.kubeconfig
export PATH="$GOROOT/bin:$PATH:$(expand_path .)/bin"
{
"files.exclude": {
"_output": true,
".vagrant": true,
".tito": true,
".idea": true,
"_tmp": true,
"staging": true
},
"go.testTimeout": "60s",
"go.testFlags": ["-v"],
"go.goroot": "/Users/dan/.go/dist/go1.9.2",
"go.toolsGopath": "/Users/dan/Projects/kubernetes",
"go.gopath": "/Users/dan/Projects/kubernetes",
"window.title": "${activeEditorShort} — kubernetes"
}
// Place your settings in this file to overwrite the default settings
{
"window.newWindowDimensions": "maximized",
"editor.fontFamily": "Monaco",
"editor.fontSize": 14,
"editor.tabSize": 2,
"files.autoSave": "off",
"editor.selectionHighlight": false,
"editor.quickSuggestions": false,
"editor.suggestOnTriggerCharacters": false,
"window.reopenFolders": "all",
"editor.rulers": [],
"editor.mouseWheelZoom": false,
"explorer.autoReveal": false,
// Go stuff
"go.buildOnSave": false,
"go.lintOnSave": false,
"go.vetOnSave": true,
"go.buildFlags": [],
"go.lintFlags": [],
"go.vetFlags": ["-shadow", "-shadowstrict"],
"go.formatOnSave": true,
"go.formatTool": "goimports",
"go.useCodeSnippetsOnFunctionSuggest": false,
"ActiveFileInStatusBar.fullpath": false,
"workbench.activityBar.visible": false,
"window.zoomLevel": 0,
"workbench.colorTheme": "Monokai Dark Soda",
"editor.renderWhitespace": "none",
"editor.cursorBlinking": "solid",
"window.nativeTabs": false,
"terminal.integrated.fontFamily": "Monaco",
"terminal.integrated.fontSize": 13,
"editor.codeLens": false,
"files.associations": {
"Vagrantfile": "ruby"
},
"editor.minimap.enabled": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment