{ "name": "gluetun-dev", "dockerComposeFile": [ "docker-compose.yml" ], "service": "vscode", "runServices": [ "vscode" ], "shutdownAction": "stopCompose", "postCreateCommand": "go mod download", "workspaceFolder": "/workspace", "extensions": [ "golang.go", "eamodio.gitlens", // IDE Git information "davidanson.vscode-markdownlint", "ms-azuretools.vscode-docker", // Docker integration and linting "shardulm94.trailing-spaces", // Show trailing spaces "Gruntfuggly.todo-tree", // Highlights TODO comments "bierner.emojisense", // Emoji sense for markdown "stkb.rewrap", // rewrap comments after n characters on one line "vscode-icons-team.vscode-icons", // Better file extension icons "github.vscode-pull-request-github", // Github interaction "redhat.vscode-yaml", // Kubernetes, Drone syntax highlighting "bajdzis.vscode-database", // Supports connections to mysql or postgres, over SSL, socked "IBM.output-colorizer", // Colorize your output/test logs "mohsen1.prettify-json", // Prettify JSON data ], "settings": { "files.eol": "\n", "remote.extensionKind": { "ms-azuretools.vscode-docker": "workspace" }, "go.useLanguageServer": true, "go.autocompleteUnimportedPackages": true, "go.gotoSymbol.includeImports": true, "go.gotoSymbol.includeGoroot": true, "gopls": { "completeUnimported": true, "deepCompletion": true, "usePlaceholders": false }, "go.lintTool": "golangci-lint", "go.buildOnSave": "workspace", "go.lintOnSave": "workspace", "go.vetOnSave": "workspace", "editor.formatOnSave": true, "[go]": { "editor.codeActionsOnSave": { "source.organizeImports": true } }, "go.toolsEnvVars": { "GOFLAGS": "-tags=", // "CGO_ENABLED": 1 // for the race detector }, "gopls.env": { "GOFLAGS": "-tags=" }, "go.testEnvVars": {}, "go.testFlags": [ "-v", // "-race" ], "go.testTimeout": "10s", "go.coverOnSingleTest": true, "go.coverOnSingleTestFile": true, "go.coverOnTestPackage": true } }