Programming and Software Development

GoLand 2026.2 Adds Immediate Support for Go 1.27 Features and Code Update Tools

JetBrains announced that GoLand 2026.2 supports Go 1.27 features from day one, including the new go fix tools and a profile for detecting goroutine leaks. The company also added updated guidance for AI coding agents and a free online launch event.

2026-08-20
4 min read
14 views
فريق تحرير certi.news
GoLand 2026.2 Adds Immediate Support for Go 1.27 Features and Code Update Tools

GoLand 2026.2 supports Go 1.27 from its release day, with updates ranging from understanding new language features inside the editor to code analysis, updating existing projects, and diagnosing certain concurrency issues. JetBrains says the release enables developers to handle Go 1.27 changes within their daily workflow instead of relying on separate tools outside the development environment.

Support for New Language Features

The editor in GoLand 2026.2 recognizes a set of Go 1.27 additions, including generic methods, promoted field names within struct composite values, and improved function type inference. The Welcome screen also includes a dedicated page titled “What’s New in Go 1.27,” offering a guided overview of the most important language and standard library changes compared with the previous release.

What Changes in Code Updating in Practice?

Go 1.27 expanded the official go fix tool with additions that help replace outdated patterns with what modern Go recommendations describe. GoLand integrated these suggestions into the editor as inspections, allowing developers to see why a recommendation was made next to the affected code, review the resulting diff, and then apply the quick-fix without leaving the work context.

GoLand supports all update tools available in go fix, including improvements for generic iterators, making arithmetic operations on unsafe pointers safer, updating atomic types, embedded composite values, and slice improvements, along with the other official transformations provided by the tool.

After reviewing a suggestion in one file, a developer can use the Problems window to find the remaining updatable locations in the project. Each suggestion can be inspected individually, the diff can be reviewed, or the changes can be applied across the project. GoLand also allows go fix to be enabled as a pre-commit inspection; this option is disabled by default. When enabled, the program runs the official update tools before every commit and applies the available updates.

Diagnosing goroutine Leaks

Go 1.27 adds a new profile for goroutine leaks, and GoLand 2026.2 supports it among its tools from day one. The profile displays goroutines that remain permanently stuck because the synchronization tool they are waiting for, such as a channel, sync.Mutex, or sync.Cond, has become unreachable.

This profile can be captured and analyzed alongside CPU, memory, lock, blocking, and goroutine profiles from the Go Performance Optimization window. Developers can also switch between flame graphs, call trees, graphical visualizations, and editor annotations in the code gutter to identify the source of the leak. If the application is already running in a production environment, an existing pprof file can be imported into GoLand, leading directly from it to the relevant source code.

Better Guidance for AI Coding Agents

JetBrains updated the Modern Go Code Guidelines for AI coding agents to include Go 1.27 features, new APIs in the standard library, and current practices. The guidelines take the Go version specified in the go.mod file into account, with the goal of helping supported agents suggest code compatible with the project's version rather than using features unavailable to it.

Go 1.27 Release Event

JetBrains is organizing the Go 1.27 Release Party online on August 25, 2026, from 4:00 to 5:30 PM Coordinated Universal Time. It will include a presentation of the main changes from the Go development team, practical demonstrations, live coding, an explanation of GoLand's support for the new release, and a question-and-answer session. Go teacher Jesús Espino and GoLand Developer Advocate Ainsley Clark will host the event in The Blue Gopher online community space.

News source
JetBrains Blog
Open original source ↗
ف
Author

فريق تحرير certi.news

In the same category

You may also like

View all news