Go extension for Visual Studio Code
This point release addresses a regression issue (spurious display of the Go welcome page) within cloud-based IDEs.
See the full commit history for detailed changes.
Full Changelog: https://github.com/golang/vscode-go/compare/v0.41.3...v0.41.4-rc.1
Changelog draft: https://github.com/golang/vscode-go/blob/v0.41.4-rc.1/extension/CHANGELOG.md
Full Changelog: https://github.com/golang/vscode-go/compare/v0.41.2...v0.41.3
This point release temporarily reverts the default remote debugging behavior to use the legacy debug adapter due to existing feature gaps. Once these gaps are addressed as outlined in Issue 3096, we plan to switch the default back to use Delve DAP for remote deubgging.
If you want to continue using Delve DAP for remote debugging, use the following settings in your launch.json
.
{
"name": "Debug Remote",
"type": "go",
"request": "attach",
"mode": "remote",
"debugAdapter": "dlv-dap", // Use Delve DAP
...
}
See the full commit history for detailed changes.
go.alternateTools
setting's customFormatter
entry (Issue 2582).go.showWelcome
setting (Issue 3319).Thanks for your contributions, @uniquefine, @monitor1379, @suzmue, @hyangah!
Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.41.3
Full Changelog: https://github.com/golang/vscode-go/compare/v0.41.2...v0.41.3-rc.1
Changelog draft: https://github.com/golang/vscode-go/blob/v0.41.3-rc.1/extension/CHANGELOG.md
This release is a point release to increase the prompt rate of Go telemetry opt-in. Learn more at https://go.dev/doc/telemetry. For a detailed list of changes, refer to the complete commit history.
Thanks for your contributions! @Cr4zySheep, @nirhaas
This release is a point release to skip vscgo
installation on Windows (Issue 3182).
For a detailed list of changes, refer to the complete commit history.
Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.41.1
Full Changelog: https://github.com/golang/vscode-go/compare/v0.41.0...v0.41.1-rc.1
Changelog draft: https://github.com/golang/vscode-go/blob/v0.41.1-rc.1/extension/CHANGELOG.md#v0411---22-feb-2024
This release introduces significant updates to the extension's UI. We also want to share the news that the gopls v0.15 release enhances the multi-module workspace experience and improves build tag handling.
For a detailed list of changes, refer to the complete commit history.
gopls
can automatically determines workspace configurations such as Go module boundaries and necessary GOOS/GOARCH build tags for open Go files. This eliminates the need for users to align the VS Code workspace root folders with the Go module root folder."Developer: Set Log Level..."
command to adjust the logging level. The go.logging.level
setting is deprecated in favor of this new logging mechanism."Go: Locate Configured Go Tools"
command now opens an untitled file and dumps the tools information there, instead of printing it in the "Go" output channel. This change allows users to inspect and edit the output easily before sharing it in their issue report."Go: Install/Update Tools"
command.gopls
and an optionally selected extra lint tool such as staticcheck
or golangci-lint
) if they are missing, using go install
commands. Any installation failures will be surfaced in the language status bar and the "Go" output channel.dlv
installation until the debug feature is invoked.vscgo
, an optional tool used to update the Go telemetry counters. This tool is installed in the extension's directory.web-request
has been replaced with node-fetch@v2
. (Issue 2995)extension/
directory. See Issue 3122 for more details.Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.41.0
Full Changelog: https://github.com/golang/vscode-go/compare/v0.40.3...v0.41.0-rc.2
Changelog draft: https://github.com/golang/vscode-go/blob/v0.41.0-rc.2/extension/CHANGELOG.md#v0410---14-feb-2024