GoLand 2020.2.2 is out with a bunch of new fixes.
You can update to 2020.2.2 by:
- Downloading it from the website.
- Updating via the Toolbox App.
- Applying a patch on top of 2020.2.1 or 2020.1.4 (go to Help | Check for Updates).
- Or using a snap package (for Ubuntu).
Here are the main highlights of this build:
— GO-8318 — GoLand now shows replaced module dependencies in External Libraries of the Project View better. All the replaced dependencies are explicitly marked with the (replaced) suffix in the Project View. If being replaced changed the version of the dependency, we show that right in the Project View as vX => vY. The tooltip of the replaced dependency displays the replacement’s import path and version just as they are written in your go.mod file.
— GO-9635 — Code analysis works as expected for modules that were replaced with a slash at the end of the path.
— GO-9718 — Tabs in the go.mod file no longer break parsing.
— GO-9749 — GoLand 2020.2.2 resolves the import of vendored packages in SDK.
— GO-9754 — The Console shows UTF-8 output correctly on Windows.
— GO-9612 — In the debugger, GoLand shows the View link for variables of types like
type T byte, such as
json.RawMessage, for example. For the ability to configure the length of strings/arrays, please watch/vote for GO-9707.
— GO-9698 — The Put parameters on separate lines quick-fix can be invoked anywhere in the list of parameters.
— GO-9755 — Introduction of the var, type, and const (…) blocks under assignment don’t break code.
— GO-5373 — The check of regular expressions fully complies with Go’s RE2 engine.
The whole list of bug fixes can be found in the release notes.