All Versions
58
Latest Version
Avg Release Cycle
6 days
Latest Release
1380 days ago

Changelog History
Page 2

  • v0.5.1 Changes

    October 05, 2020

    gopls/v0.5.1

    ๐Ÿ”‹ Features

    Completion speed improvements

    ๐Ÿšค https://golang.org/cl/257240 eliminated some duplicate type-checking in completions (and some other features), halving latency in most cases.

    ๐Ÿ‘Œ Improvements to symbol rankings

    From https://golang.org/cl/254037:

    Downrank symbols if they are:

    ๐Ÿ“š > 1. Unexported and outside of the workspace. Since one wouldn't jump to these symbols to e.g. view documentation, they are less relevant.

    1. Fields and interface methods. Usually one would jump to the type name, so having fields highly ranked can be noisy.

    โš  Warnings for excluded files

    ๐Ÿ— You will now see diagnostics if you open a file that is excluded from the current build, likely by build tags. This should aid in understanding cases when gopls fails to work on a certain file.

    ๐Ÿ‘ Better error reporting when code lenses fail

    A pop-up with an error will appear if a code lens fails to run its command.

    Experimental

    ๐Ÿ‘ Multi-module workspace support

    0๏ธโƒฃ The proposal described in golang/go#32394 is partially implemented, but off by default.
    ๐Ÿ‘ 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 go mod tidy diagnostics, are not yet implemented.

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

    ๐Ÿ›  Fixes

    ๐Ÿ Toggle GC Details on Windows

    ๐Ÿ There was a bug in the new experimental GC details code lens on Windows machines (golang/go#41614). We added a work-around to fix the issue.

    ๐Ÿ›  A list of all issues fixed can be found in the gopls/v0.5.1 milestone.

    ๐Ÿ“š Documentation

    ๐Ÿ“š The documentation for settings is now automatically generated so it will stay up-to-date. Documentation was also updated for working with Neovim and for working on the Go project itself.

    Thank you to our contributors!

    @heschik @findleyr @dandua98 @pjweinb @ainar-g

  • v0.5.1-pre3

    September 30, 2020
  • v0.5.1-pre2

    September 29, 2020
  • v0.5.1-pre1

    September 25, 2020
  • v0.5.0 Changes

    September 15, 2020

    A full list of issues closed can be found in the gopls/v0.5.0 milestone.

    Memory usage

    • Rewrite of caching model, resulting in significant memory usage improvements (@heschik).

    ๐Ÿ†• New features

    • ๐Ÿ‘ Extract to function: Support for extracting code blocks that contain return statements (@joshbaum).
    • ๐Ÿ’… Workspace symbols: Support for fzf-style search syntax (@findleyr). The following syntax is supported:
      • ' for exact matching
      • ^ for prefix matching
      • $ for suffix matching

    Note : This feature does not yet work in VS Code. See golang/vscode-go#647 and microsoft/vscode#106788.

    • ๐Ÿ‘€ An experimental new code lens to view GC optimization details (@pjweinb). Once the code lens is enabled, you will see a Toggle gc details annotation at the top of your file. Clicking it will show optimization diagnostics produced by the Go compiler, and clicking it once again will hide these diagnostics. Enable the code lens by adding the following to your settings:

      "codelens": {"gc_details": true}

    • go mod tidy and go mod vendor code lenses for go.mod files (@dandua98).

    • ๐Ÿ‘Œ Support for filling in matching in-scope variables instead of just empty values in fillstruct and fillreturns (@joshbaum).

    • Autocompletion within import statements (@dandua98).

    • ๐Ÿ“ฆ Autocompletion within package declarations (@dandua98).

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘Œ Improvements to workspace symbols ranking and fuzzy matching (@findleyr, @myitcv).
    • ๐Ÿ‘ Better completion suggestions in type switch case clauses and for calls to append, function literals, and unnamed types (@muirdm).

    Thank you

    ๐Ÿš€ Thank you to everyone who contributed to this release!

    @heschik
    @findleyr
    @pjweinb
    @joshbaum
    @mcjcloud
    @dandua98
    @muirdm
    @leitzler
    @myitcv
    @matloob
    @tennashi
    @ainar-g
    @hasheddan

  • v0.5.0-pre3

    September 14, 2020
  • v0.5.0-pre2

    September 14, 2020
  • v0.5.0-pre1

    September 10, 2020
  • v0.4.4 Changes

    August 03, 2020
    • ๐Ÿ‘Œ Support for opening a single file. Previously, gopls required you to open an entire directory.
    • ๐Ÿ‘Œ Support features and diagnostics for the entire module, even when you open a subdirectory of the module.
    • Extract a selected range to a variable or to a function. This feature is still relatively new, so please report issues if you encounter any. (@joshbaum)
    • ๐ŸŽ Fillstruct performance improvements. It is now enabled by default again. (@joshbaum)
    • ๐Ÿ‘Œ Improvements in go.mod diagnostic error presentation.

    A full list of all issues closed is available in the gopls/v0.4.4 milestone.

  • v0.4.4-pre3

    July 29, 2020