vscode-go v0.33.1 Release Notes
Release Date: 2022-05-24 // about 1 month ago-
๐ This is the last release that supports Visual Studio Code 1.66 or older. ๐ We plan to add support for LSP 3.17 in the next release and the change requires Visual Studio Code 1.67+.
๐ Changes
- ๐ Updated settings to be in sync with
[email protected]
. See the release note to learn new features like the//go:embed
analyzer, and improved hover for imported packages. - Prepared for 2022 mid-year Go developer survey.
- ๐ Updated settings to be in sync with
Previous changes from v0.33.0
-
๐ ๐ฃ [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 ofstaticcheck
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 whengopls
(v0.8.2+) is used.Activation: the extension defers commands and feature provider registrations until it runs
go version
andgo env
, and startsgopls
. 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 thegovulncheck
command embedded ingopls
, which identifies known vulnerabilities by call graph traversal and module dependency analysis. (Issue 2096)
Thanks
@jamalc, @polinasok, @dlipovetsky, @vladdoster, @suzmue, @hyangah