Get it via the Toolbox App, download from the website, or use a snap package (for Ubuntu). Or, right in GoLand, select Automatically check updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates.
You can also use nightly builds based on the latest development code almost every day, if you don’t want to wait for the official announcements of EAP builds. Note they are available via the Toolbox App only.
For unused parameters, GoLand highlights its name and type if both can be removed, or only the name if the type is used for implementing a method specification.
In the latter case, the IDE now provides two quick-fixes for you to choose from: Delete parameter names or Rename to _. The same behavior is provided for functions that are used as a function type.
Live templates enhanced
The live templates for and forr now suggest relevant variable names. For example, names like
index are suggested for an index;
line are suggested for a value.
The live template meth also gets a nice improvement: now it provides code suggestions for receiver names.
Search only in a selected area when using Find
Search only in a selected area when using the Find action (cmd+F on macOS and Ctrl+F on Windows/Linux). Simply select the piece of code you need in the editor and invoke the Find action – the IDE will then perform the search only in the selected area. To easily switch to searching within the whole file, press cmd+F / Ctrl+F a second time, or alternatively toggle the In Selection option in the bar.
Improved ‘Compare with Current’ view in VCS
The Compare with Current action, which shows the difference in commits, gets several usability improvements:
- A tab title which specifies the branches being compared.
- A bar that clarifies the comparison direction.
- When the view is empty, the IDE displays an explanation why.
- A Swap branches action which reverses the comparison direction.
Now you can make the scrollbars more visible. To do this, select the Use contrast scrollbars checkbox in Preferences/Settings | Appearance & Behavior | Appearance.
Smooth mouse scrolling
We’ve made mouse scrolling smoother! Try it and give us your feedback in the corresponding ticket. Thank you!
— GO-2217 — String literals are handled more correctly now.
— GO-7717 — We’ve fixed a bug with GoLand freezing on Go Modules projects with several modules.