GoLand 2020.1 EAP 3 is Here with Upgrades for Go Modules and Code Completion
You can get this EAP build through the Toolbox App, by downloading it from the website, by using a snap package (for Ubuntu), or from right inside GoLand by selecting Automatically check updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates.
Don’t forget that we regularly release nightly builds based on the latest development code. You can use these nightly builds to get access to the latest features without having to wait for the official EAP announcements. These nightly builds are only available via the Toolbox App, however.
GoLand 2020.1 will now show a notification before you commit if there are replacements with local paths in the go.mode file. This should help avoid situations where these replacements are committed by mistake.
Please note that the Perform Code analysis checkbox has to be turned on in the settings of the Commit dialog first. Click the gear icon and then select this option if needed.
If the caret stays on the right-hand side of a return statement inside a function, code completion now suggests more than just the default values corresponding to the return type of the function. It also provides suggestions for local variables and zero values that will result in an error.
Search & Navigation
The Find Usages (Alt+F7 on Windows/Linux or ⌥F7 on macOS) action now always looks for usages of interface methods by default. To find usages of the current method as before, use Alt+Shift+Ctrl+F7 on Windows/Linux or ⌥⇧⌘F7 on macOS.
That’s all for today’s EAP build. And remember, we always appreciate your feedback! So if you’re missing some functionality, or if you’ve encountered bugs or had an unpleasant experience, please share it with us here in the comments, on Twitter, or in our issue tracker.