goimports v0.5.3 Release Notes
Release Date: 2020-11-12 // over 3 years ago-
gopls/v0.5.3
๐ Features
โก๏ธ Automatic updates to
go.sum
โก๏ธ Previously,
go.mod
-related quick fixes would not make corresponding changes to yourgo.sum
file. Now, when you add or remove dependencies from your module, yourgo.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 forgo.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!