Skip to content

gopls/v0.5.3

Compare
Choose a tag to compare
@stamblerre stamblerre released this 12 Nov 21:26
· 3539 commits to master since this release

gopls/v0.5.3

Features

Automatic updates to go.sum

Previously, go.mod-related quick fixes would not make corresponding changes to your go.sum file. Now, when you add or remove dependencies from your module, your go.sum will be updated accordingly.

Removed support for go mod tidy on save

We have removed the support for running go mod tidy on save for go.mod files. It proved to be too slow and expensive to be worth it.

Experimental

Multi-module workspace support

The proposal described in golang/go#32394 is still in development and off by default. See our progress by tracking the multi-module workspace milestone and project.

Enable multi-module workspace support by adding the following to your settings:

"gopls": {
    "experimentalWorkspaceModule": true,
}

With this setting, you will be able to open a directory that contains multiple modules. Most features will work across modules, but some, such as goimports, will not work as expected.

Give this a try if you're interested in this new feature, but please note that it is still very experimental.

Fixes

A list of all issues fixed can be found in the gopls/v0.5.3 milestone.

Thank you to our contributors!

@heschik @findleyr @pjweinb