vscode-go
vscode-go copied to clipboard
Go extension for Visual Studio Code
Mac 3 silicon VSCode with dev container and golang fails to run debugger on goroutine implementation
### What version of Go, VS Code & VS Code Go extension are you using? Version Information * Run `go version` to get version of Go from _the VS Code...
Type: Bug When I navigate go source code: 1. build the go1.19, 2. I want to install the matched gopls, gotests, staticcheck which should be built by go1.19, i think...
There are far too many ways to set a `GOPATH` in this extension. We need to centralize them and provide users with common workflows to follow. Some thoughts: - We...
From `go help test`: > The go tool will ignore a directory named "testdata", making it available > to hold ancillary data needed by the tests. Currently, vscode-go test provider...
I love the test explorer UI and want to use more regularly for TDD. In the settings, there is an option to run tests on save, but this doesn't seem...
Accumulative updates since: ```md 1 - `github.com/josharian/impl - v1.1.0` - [v1.2.0: avoid name collisions between receiver and params/results](https://github.com/josharian/impl/releases/tag/v1.2.0) - [v1.3.0: support generics](https://github.com/josharian/impl/releases/tag/v1.3.0) - [v1.4.0: Fix generation failure when multiple type...
In #3387, the "Launch Package" template in `package.json` was updated to use `${workspaceFolder}`. But we missed to update the template in https://github.com/golang/vscode-go/blob/2b8494a8d05fea085d9f2ce3e6d0f856528916a5/extension/src/goDebugConfiguration.ts#L63-L69 that is referenced when launching debugging without launch.json...
For example, https://github.com/golang/vscode-go/actions/runs/9938240939/job/27450273852 ``` 2 failing 1) Installation Tests Install multiple tools with a local proxy: AssertionError [ERR_ASSERTION]: installTools failed: [{"tool":{"name":"dlv","importPath":"github.com/go-delve/delve/cmd/dlv","modulePath":"github.com/go-delve/delve","replacedByGopls":false,"isImportant":false,"description":"Go debugger (Delve)","latestVersion":{"options":{},"loose":false,"includePrerelease":false,"raw":"v1.8.3","major":1,"minor":8,"patch":3,"prerelease":[],"build":[],"version":"1.8.3"},"latestVersionTimestamp":"2022-04-26T00:00:00.000Z","minimumGoVersion":{"options":{},"loose":false,"includePrerelease":false,"raw":"1.18.0","major":1,"minor":18,"patch":0,"prerelease":[],"build":[],"version":"1.18.0"}},"reason":"failed to install dlv(github.com/go-delve/delve/cmd/[email protected]): Error: Command failed: /opt/hostedtoolcache/go/1.19.13/x64/bin/go...
Type: Bug In a go project, the function description is transferred to another file, and the source file is deleted. After that, the "Duplicate function" error is fixed before exporting...
**Is your feature request related to a problem? Please describe.** I'm always frustrated when I click on "Generate test for function" and see "No tests were generated for ...". **Describe...