wonderfully unique software solutions

JetBrains adds Go features, including sharing, fixes and inspections

The hardworking team at JetBrains has released GoLand 2020.2, with a slew of new features and fixes for code developers.

JetBrains‘ Ekaterina Zharova said the new version spans Go module features, improved problem presentation, code inspection and editing functionality, references and navigation support, “as well as the ability to configure wrapping for call arguments, function parameters, and composite literal elements”.

“On top of that, we’ve added experimental support for generics (also known as type parameters), the ability to share code to the Go Playground from the editor, updates for version control, including WSL 2 support for Git on Windows, and more,” she writes in the JetBrains blog post.

A “long-awaited” ability to add carets per selected line has also been rolled out to help developers type more quickly.

Download GoLand 2020.2 for Windows here. For other versions, click here.

There’s also a tutorial inside the IDE on the Welcome screen of the new version, notes Zharova.

Some detail on the changes

The Go modules now support GOMODCACHE environment variable – out with Go 1.15, and the IDE provides a closing brace immediately when the opening brace is typed. There is also support for commenting in go.mod files.

A number of warnings, errors and typos are displayed in the current file, while the Problems tool window offers descriptions of current-file warnings and errors and enables immediate fixes via Alt+Enter. And there’s a check for malformed struct tags.

“A new code inspection handles possible problems with string(int) conversions and lets you fix them easily,” Zharova says.

With the new version of GoLand, coders can now use the Put arguments on separate lines and Put arguments on one line intention actions to split or join call arguments, function parameters, and composite literal elements. Preview intention actions and quick-fixes in Intentions Preview.

They can also take control of variadic arguments with Introduce Variable refactoring, which packs them into a new slice variable.

“Inline Variable, conversely, unpacks a slice into variadic arguments.”

In addition, projects can now be saved as custom templates, and code can be shared directly to Go Playground directly from the editor.

Learn about JetBrains IDE for cloud devops here.

JetBrains would love to hear your feedback – comment on the full blog post, or tweet @GoLandIDE.

Recent Articles

Top-25 cloud list runs gamut from Visma to Cloudflare, Wasabi to Azul

The Software Report market insights website has named 25 software companies as the top companies in cloud computing for 2024, offering specific...

TeamViewer partners Deloitte on digital visuals for warehouse logistics

Deloitte and TeamViewer have combined the latter's augmented reality (AR) based visual picking offering with SAP Extended Warehouse Management (EWM) for warehousing...

Hornetsecurity expands M365 cloud security offer with Vade deal

Cloud email security provider Hornetsecurity has added a partnership with Vade, increasing focus on answering data sovereignty requirements with best-in-class cloud, compliance...

Cross-browser testing provider BrowserStack named Microsoft ‘partner of choice’

Software testing platform provider BrowserStack has announced a strategic partnership with Microsoft to support Visual Studio App Center users transitioning to BrowserStack...

JetBrains rolls out full-line code completion for its IDEs

Developer tools company JetBrains has added to its AI-enablement tools with full-line code completion for its integrated development environments (IDEs), separate to...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Weirdware monthly - Get the latest news in your inbox