vscode-go v0.26.0 Release Notes

Release Date: 2021-06-17 // almost 3 years ago
  • ๐Ÿ“„ ๐Ÿ“ฃ 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 uses gopls instead of gopkg. This requires [email protected] 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!