Gopls release v0.21.0 (forthcoming)

Configuration changes

  • The new newGoFileHeader option allows toggling automatic insertion of the copyright comment and package declaration in a newly created Go file.

Web-based features

Editing features

Analysis features

Code transformation features

The Rename operation now treats Doc Links like identifiers, so you can initiate a renaming from a Doc Link.


The source files for this documentation can be found beneath golang.org/x/tools/gopls/doc.