Original post

Title: EAP #7 Supports Square Brackets in Type Parameters

Early access build #7 for GoLand 2020.3 is here with support for square brackets in type parameters. Play with it and share your thoughts!

Remember that you don’t need to wait for the EAP announcements, as we regularly release nightly builds based on the latest development code. These nightly builds are only available via the Toolbox App.

You can get this EAP build through the Toolbox App, by downloading it from the website, or by using a snap package (for Ubuntu). Or update from right inside GoLand by selecting Automatically check updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates.

The team heard the community’s feedback and started working on the design of generics. We’re following suit and working hard to make sure you can use in GoLand as soon as possible.

Please note that the Enable generics (experimental support for type parameters) setting in Preferences/Settings | Go is selected by default in the EAP builds, but will be turned off in the 2020.3 release version. You’ll need to explicitly select that checkbox to start using the feature.

We’ll publish a dedicated blog post about generics and generics support in GoLand soon, so please stay tuned. For now, GoLand 2020.3 understands square brackets for the generics syntax instead of parentheses, as this was implemented in the previous proposal edition.

That’s all for today.