github golang/tools gopls/v0.8.1

latest releases: gopls/v0.17.0-pre.1, v0.27.0, v0.26.0...
2 years ago

This is a small release to pick up some bugfixes/improvements for Go 1.18 support.

New Features

Additional editing support for go.work files

Gopls now offers editing features for go.work files: diagnostics, completion, formatting, and hover. To use these, configure your language server to set the "go.work" language ID for go.work files (VS Code does this automatically).

Diagnostics
image

Completion
image

Hover
image

More diagnostics for Fuzz tests

Gopls now provides diagnostics for mismatching calls to testing.F.Add.
image

Bugfixes

A full list of all issues fixed can be found in the gopls/v0.8.1 milestone. To report a new problem, please file a new issue at https://go.dev/issues/new.

Thank you to our contributors!

@hyangah @marwan-at-work @matloob @mvdan @pjweinb @simondrake @suzmue

Don't miss a new tools release

NewReleases is sending notifications on new releases.