vscode-go v0.33.0 Release Notes

Release Date: 2022-05-01 // almost 2 years ago
  • ๐Ÿš€ ๐Ÿ“ฃ [Remote attach debugging](docs/debugging.md#connecting-to-headless-delve-with-target-specified-at-server-start-up) 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](docs/nightly.md) 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 [email protected]. 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](docs/ui.md#go-explorer-view): it displays environment variables and information about tools used by the extension. (Issue 2049)

    • 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