GoLand 2025.1

Released: Apr 16, 2025

2025.1 での更新項目

機能

GoLand goes AI

  • JetBrains AI has received a major upgrade, bringing both AI Assistant and Junie under a single subscription. With this release, all JetBrains AI features are accessible for free in the IDEs, with unlimited use for some, such as unlimited code completion and local model support, and limited credit-based access to others. JetBrains are also introducing a new subscription system that makes it easy to scale up as needed with the AI Pro and AI Ultimate tiers.
  • This release introduces major enhancements to boost productivity and reduce repetitive work. Updates include smarter code completion, support for new cloud models like OpenAI GPT-4.1 (сoming soon), Claude 3.7 Sonnet, and Gemini 2.0 Flash, advanced RAG-based context awareness, and a new edit mode for multi-file edits directly from the chat.

New features

  • Support for golangci-lint
    • GoLand now integrates the Go Linter plugin, bringing you support for golangci-lint. This allows you to effortlessly configure and fine-tune your linters. You can analyze and enhance your Go code by selecting the specific checks that matter most to you. In GoLand, linters act as real-time inspections, catching potential issues before you even run your code. Additionally, you can use your golangci-lint configuration from your CI pipeline in GoLand, ensuring consistency across both your development environment and your build process. GoLand does not yet support version 2 of golangci-lint. However, JetBrains are actively working on adding support for it.
  • Improved Rename refactoring for struct fields
    • Renaming a struct field now properly updates the corresponding JSON tag. Previously, if you renamed a field in a Go struct, the change was not reflected in its tag value (for example, NewName string `json:"old_name"`), which could lead to mismatches between the field name and the serialized output.
  • Improved notifications and support for the toolchain directive
    • GoLand now shows a notification when the project's SDK is changed due to the toolchain directive in go.mod. Additionally, JetBrains have improved the codebase so that GoLand can handle this directive more effectively.

Support for Go 1.24 language features - GoLand 2025.1 brings full support for Go 1.24, including key updates that align the IDE with the latest changes in the language and tooling ecosystem. Some of these enhancements were introduced in earlier versions, but together they ensure a smooth and up-to-date experience with Go 1.24.

  • Generic type aliases
    • Go 1.24 introduces the ability to define type aliases with type parameters. GoLand now fully supports this syntax with proper highlighting, navigation, and code insight.
  • Updated Delve debugger
    • GoLand now bundles Delve 1.24.0, which includes several important bug fixes. This ensures reliable debugging support for projects using Go 1.24. For more information.
  • Support for the tool directive in go.mod files
    • The IDE now properly recognizes the new tool directive introduced in Go 1.24. It also reports an error if the directive is used with an unsupported Go SDK version.
  • Improved handling of go get flags
    • The deprecated -d flag is no longer added when go get is run from GoLand. This eliminates unnecessary warnings in the Run tool window.