github.com/schmorrison/Zoho@v1.1.4/.devcontainer/devcontainer.json (about) 1 { 2 "name": "project-dev", 3 "dockerComposeFile": [ 4 "docker-compose.yml" 5 ], 6 "service": "vscode", 7 "runServices": [ 8 "vscode" 9 ], 10 "shutdownAction": "stopCompose", 11 "postCreateCommand": "~/.windows.sh && go mod download && go mod tidy", 12 "workspaceFolder": "/workspace", 13 // "overrideCommand": "", 14 "extensions": [ 15 "golang.go", 16 "eamodio.gitlens", // IDE Git information 17 "davidanson.vscode-markdownlint", 18 "ms-azuretools.vscode-docker", // Docker integration and linting 19 "shardulm94.trailing-spaces", // Show trailing spaces 20 "Gruntfuggly.todo-tree", // Highlights TODO comments 21 "bierner.emojisense", // Emoji sense for markdown 22 "stkb.rewrap", // rewrap comments after n characters on one line 23 "vscode-icons-team.vscode-icons", // Better file extension icons 24 "github.vscode-pull-request-github", // Github interaction 25 "redhat.vscode-yaml", // Kubernetes, Drone syntax highlighting 26 "bajdzis.vscode-database", // Supports connections to mysql or postgres, over SSL, socked 27 "IBM.output-colorizer", // Colorize your output/test logs 28 // "mohsen1.prettify-json", // Prettify JSON data 29 // "zxh404.vscode-proto3", // Supports Proto syntax 30 // "jrebocho.vscode-random", // Generates random values 31 // "alefragnani.Bookmarks", // Manage bookmarks 32 // "quicktype.quicktype", // Paste JSON as code 33 // "spikespaz.vscode-smoothtype", // smooth cursor animation 34 ], 35 "settings": { 36 "files.eol": "\n", 37 "remote.extensionKind": { 38 "ms-azuretools.vscode-docker": "workspace" 39 }, 40 "go.useLanguageServer": true, 41 "[go]": { 42 "editor.codeActionsOnSave": { 43 "source.organizeImports": true 44 }, 45 }, 46 "[go.mod]": { 47 "editor.codeActionsOnSave": { 48 "source.organizeImports": true 49 } 50 }, 51 "gopls": { 52 "build.buildFlags": [ 53 "-tags", 54 "" 55 ], 56 "usePlaceholders": false, 57 "staticcheck": true, 58 }, 59 "go.lintTool": "golangci-lint", 60 "go.lintOnSave": "package", 61 "editor.formatOnSave": true, 62 "go.toolsEnvVars": { 63 "CGO_ENABLED": 0 64 }, 65 "go.testEnvVars": { 66 "": "", 67 }, 68 "go.testFlags": [ 69 "-v", 70 "-race" 71 ], 72 "go.testTimeout": "10s", 73 "go.coverOnSingleTest": true, 74 "go.coverOnSingleTestFile": true, 75 "go.coverOnTestPackage": true 76 } 77 }