...

Text file src/github.com/grpc-ecosystem/grpc-gateway/.devcontainer/devcontainer.json

Documentation: github.com/grpc-ecosystem/grpc-gateway/.devcontainer

     1{
     2	"dockerFile": "../.circleci/Dockerfile",
     3	"overrideCommand": true,
     4	// Set *default* container specific settings.json values on container create.
     5	"settings": {
     6		"editor.formatOnSave": true,
     7		"terminal.integrated.shell.linux": "/bin/bash",
     8		"go.useGoProxyToCheckForToolUpdates": true,
     9		"go.useLanguageServer": true,
    10		"go.gopath": "/go",
    11		"go.goroot": "/usr/local/go",
    12		"go.toolsGopath": "/go/bin",
    13		"bazel.buildifierExecutable": "/go/bin/buildifier",
    14		"bazel.buildifierFixOnFormat": true,
    15		"bazel.enableCodeLens": true,
    16	},
    17	// Add the IDs of extensions you want installed when the container is created.
    18	"extensions": [
    19		"golang.Go",
    20		"bazelbuild.vscode-bazel",
    21	],
    22	"postCreateCommand": "cd $(mktemp -d) && GO111MODULE=on go get golang.org/x/tools/gopls@latest github.com/bazelbuild/buildtools/buildifier@latest && cd -",
    23}

View as plain text