V0.26.0 - 17 Jun, 2021
📣 Delve
's native DAP implementation is now available for use. In order to use this new debug adapter (dlv-dap
) when debugging Go programs, add the following settings in your settings.json
:
"go.delveConfig": {
"debugAdapter": "dlv-dap",
},
Please learn more about the new adapter's features and configuration parameters, and share your feedback and report the issues in our issue tracker.
A list of all issues and changes can be found in the v0.26.0 milestone and commit history.
Enhancements
dlv-dap
is ready for use in local debugging.- Added the new
"Go: Test Function At Cursor or Test Previous"
command. (PR 1509) "Go: Add Imports"
command usesgopls
instead ofgopkg
. This requiresgopls@v0.7.0
or newer. (Go Issue 43351)
Fixes
- Fixed
"Go: Lint Workspace"
that failed no editor is active. (Issue 1520) - Fixed
gopls
crash caused by Untitled files. (Issue 1559)
Thanks
Thanks for your contributions, @mislav, @marwan-at-work, @findleyr, @lggomez, @fflewddur, @suzmue, @hyangah!