GoLand 2022.2 EAP #3 Is Here With Updates for Generics, a Keyboard Shortcut to Change the Font Size, and an Option to Import Multiple CSV Files
The third build of our 2022.2 Early Access Program is available!
You can get the EAP build via the Toolbox App, download it from our website, use a snap package (for Ubuntu), or from inside GoLand select Check IDE updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates.
Generics
Report usage of a type parameter as a constraint
If you try to use a type parameter as a constraint, GoLand will show an error.
Notable bug fixes
There are a couple of fixes in this build:
– GO-13066 – The “Type does not implement …” false-positive error has been fixed.
– GO-12405 – GoLand now detects attempts to use a normal type as a generic one.
Overall, we’ve fixed 300+ generics-related bugs since November 2021.
User experience
Keyboard shortcut to change the font size
For this release, we’ve resolved a long-standing feature request by introducing a keyboard shortcut that changes the font size everywhere in the editor.
To increase the font size, press ⌃⇧Dot (Alt+Shift+Dot). To decrease it, press ⌃⇧Comma (Alt+Shift+Comma).
Editor
New setting to control automatic parentheses insertion
We’ve added an option to choose whether you want the IDE to automatically insert parentheses on code completion or not. The setting was previously available for JavaScript only, but now you can use it for Go and other languages, too.
You will find the Insert parentheses automatically when applicable checkbox under Settings / Preferences | Editor | General | Code Completion.
Databases
Option to import multiple CSV files
You can now select several CSV files and import them at once.
To learn more about the database improvements in this EAP, take a look at this post from the DataGrip team.
This is it for today! As always, your feedback and comments are appreciated! Get in touch with us on Twitter, leave your comments here, open an issue in our tracker, or drop us a message in the Gophers Slack #goland channel. Thanks!