GoLand, JetBrains’ cross-platform IDE for Go developers, is preparing to incorporate significant support for the generics feature expected in Go 1.18. Generics, a long-awaited feature for the Go language, aims to improve code reusability and flexibility by allowing developers to write functions and data structures that can work with any data type. This addition is seen as a major enhancement for Go, making it easier to build more modular and scalable applications.
In the roadmap for GoLand 2021.3, released on August 12, JetBrains announced plans to introduce a variety of tools and features to facilitate the use of generics in Go. These include code inspections, refactorings, and intention actions tailored specifically to generics, aligning with the upcoming release of Go 1.18. The feature is expected to be available in beta releases of Go 1.18 by the end of the year, offering developers an early opportunity to experiment with generics in their projects.
As part of its ongoing commitment to supporting Go 1.18, JetBrains is also planning a new workspace mode for GoLand. This mode will allow developers to implement changes across multiple modules from a single location, streamlining the development process for larger applications. The new workspace feature is part of a broader set of updates for GoLand 2021.3, which aims to enhance the development experience for Go programmers.
Additional features in the GoLand 2021.3 roadmap include the ability to use the Go SDK within Windows Subsystem for Linux (WSL), improved IDE integration with linters, and the option to hide object types during debugging to save on CPU resources. For code editing, GoLand will inject SQL syntax into strings that contain database commands like SELECT or INSERT, further enhancing the IDE’s functionality. The release will also support the asdf tool for managing multiple language runtime versions and offer more testing templates to improve the testing workflow. These updates, combined with the support for Go 1.18, make GoLand a powerful tool for Go developers looking to take full advantage of the language’s evolving capabilities.