github golang/vscode-go v0.33.0
Release 0.33.0

latest releases: v0.43.2, v0.43.1, v0.42.1...
2 years ago

v0.33.0 - 1 May 2022

📣 Remote attach debugging is now available via Delve's native DAP implementation with Delve v1.7.3 or newer. It is now the default with the Go Nightly and will become the default for the stable releases in mid 2022.

Changes

  • staticcheck: if go 1.16.x or older is used in installing tools, the extension chooses staticcheck@v0.2.2. In order to use the latest version of staticcheck while working on projects that require older versions of go, you can utilize the "go.toolsManagement.go" setting to specify a newer version of go for tool installation. (Issue 2162)

  • go-outline: go-outline is no longer required when gopls (v0.8.2+) is used.

  • Activation: the extension defers commands and feature provider registrations until it runs go version and go env, and starts gopls. This change prevent the extension prematually export its features, but may result in a slight increase in extension activation time if those commands run slow.

  • Survey: we show the Gopls opt-out survey prompt only when users change the setting to disable gopls.

  • Test Explorer: fixed a bug in go.mod file parsing (Issue 2171)

  • Debugging: we removed the informational popup at the start of remote attach session with dlv-dap. (Issue 2018)

Experimental features

This version includes two highly experimental features. They are still
in early stage and we are looking forward to hearing more user feedback.

  • Go Explorer view: it displays environment variables and information about tools used by the extension. (Issue 2049)
goexplorer.1.mov

(Demo: Using the Go Explorer view UI to quickly change GOOS setup)

  • Go: Run Vulncheck (Experimental) command: it runs the govulncheck command embedded in gopls, which identifies known vulnerabilities by call graph traversal and module dependency analysis. (Issue 2096)

Thanks

@jamalc, @polinasok, @dlipovetsky, @vladdoster, @suzmue, @hyangah

Don't miss a new vscode-go release

NewReleases is sending notifications on new releases.