{"id":691519,"date":"2026-03-26T13:11:42","date_gmt":"2026-03-26T12:11:42","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=go&#038;p=691519"},"modified":"2026-03-26T15:17:15","modified_gmt":"2026-03-26T14:17:15","slug":"goland-2026-1-is-released","status":"publish","type":"go","link":"https:\/\/blog.jetbrains.com\/zh-hans\/go\/2026\/03\/26\/goland-2026-1-is-released","title":{"rendered":"GoLand 2026.1 Is Released"},"content":{"rendered":"\n<p>GoLand 2026.1 helps you keep your Go code modern and your workflow efficient. This release introduces guided syntax updates for Go 1.26, making it easier to adopt new language improvements across your entire codebase. It also expands AI capabilities with support for additional agents, and brings several productivity improvements, including Git worktrees support, and a smoother editing experience.<\/p>\n\n\n\n<p>Let\u2019s take a look at the key updates in this release.<\/p>\n\n\n    <div class=\"buttons\">\n        <div class=\"buttons__row\">\n                                                <a href=\"https:\/\/www.jetbrains.com\/go\/download\/\" class=\"btn\" target=\"\" rel=\"noopener\">Download GoLand<\/a>\n                                                    <\/div>\n    <\/div>\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Keep your codebase modern with guided Go syntax updates<\/strong><\/h2>\n\n\n\n<p>Keeping your code aligned with the evolution of Go helps ensure long-term maintainability and compatibility with the ecosystem. GoLand 2026.1 introduces a unified workflow that helps you discover and apply modern Go syntax across your codebase.<\/p>\n\n\n\n<p>When your project switches to Go 1.26, GoLand scans your code and highlights constructs that can be updated. These alerts appear directly in the editor and explain what can be improved and why, making new language features visible as you work.<\/p>\n\n\n\n<p>In this release, GoLand supports two Go 1.26 syntax updates. Our team plans to expand this functionality in upcoming releases by covering additional important changes introduced in recent Go versions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Identify outdated syntax directly in the editor<\/strong><\/h3>\n\n\n\n<p>GoLand now includes inspections that detect outdated patterns and suggest modern alternatives. In 2026.1, the IDE introduces two syntax updates based on Go 1.26:<\/p>\n\n\n\n<ul>\n<li>Pointer creation improvements using<em> <\/em><code>new()<\/code><br><img decoding=\"async\" loading=\"lazy\" width=\"1564\" height=\"816\" class=\"wp-image-691713\" style=\"width: 600px\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/go261_replace_with_new.png\" alt=\"\"><\/li>\n<\/ul>\n\n\n\n<ul>\n<li>Type-safe error unwrapping with <code>errors.AsType<\/code><br><img decoding=\"async\" loading=\"lazy\" width=\"1880\" height=\"656\" class=\"wp-image-691724\" style=\"width: 600px\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/go261_replace_with_astype.png\" alt=\"\"><\/li>\n<\/ul>\n\n\n\n<p>Each inspection provides quick-fixes so you can apply improvements directly in the editor.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Update your entire codebase in one workflow<\/strong><\/h3>\n\n\n\n<p>Once you apply a syntax update, you can expand it across your entire project.<\/p>\n\n\n\n<p>GoLand provides several entry points, so you can start where it feels most natural:<\/p>\n\n\n\n<ul>\n<li>Right after applying a quick-fix, click <em>Analyze code for other syntax updates<\/em>.<img decoding=\"async\" loading=\"lazy\" width=\"1200\" height=\"800\" class=\"wp-image-691736\" style=\"width: 600px\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/go261_update_from_anywhere.png\" alt=\"\"><\/li>\n<\/ul>\n\n\n\n<ul>\n<li>Open <em>Search Everywhere<\/em> by double-pressing <em>Shift<\/em> and run the <em>Update Syntax<\/em> action.<br><img decoding=\"async\" class=\"wp-image-691545\" style=\"width: 600px\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/image-40.png\" alt=\"\"><\/li>\n<\/ul>\n\n\n\n<ul>\n<li>Open <code>go.mod<\/code> with the <code>go 1.26<\/code> directive and click <em>Analyze code for syntax updates<\/em>.<br><img decoding=\"async\" loading=\"lazy\" width=\"1200\" height=\"800\" class=\"wp-image-691747\" style=\"width: 600px\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/go261_go_mod.png\" alt=\"\"><\/li>\n<\/ul>\n\n\n\n<ul>\n<li>Go to the <em>Refactor<\/em> menu and select <em>Update Syntax<\/em>.<br><img decoding=\"async\" loading=\"lazy\" width=\"1200\" height=\"800\" class=\"wp-image-691758\" style=\"width: 600px\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/go261_right_click_refactor.png\" alt=\"\"><figure class=\"wp-block-image size-full is-resized\"><\/figure> <\/li>\n<\/ul>\n\n\n\n<p>GoLand collects all findings in the <em>Problems<\/em> tool window, where you can review and apply updates across the project.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Review large changes with diff previews<\/strong><\/h3>\n\n\n\n<p>You can review grouped results, apply fixes to individual occurrences or entire groups, and inspect every change using a built-in diff preview before applying it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"2352\" height=\"830\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/go261_problems_view_and_diff.png\" alt=\"\" class=\"wp-image-691769\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Work more easily with cloud and infrastructure workflows<\/strong><\/h2>\n\n\n\n<p>Modern development increasingly relies on containerized environments and infrastructure tools. GoLand 2026.1 introduces several improvements that help you work with these workflows directly in the IDE.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Manage Terraform Stacks more easily<\/strong><\/h3>\n\n\n\n<p>GoLand now supports working with Terraform Stacks directly in the IDE.<\/p>\n\n\n\n<p>You can explore the infrastructure structure, navigate between components, and create new deployments from the IDE interface. Code completion and improved navigation help you stay oriented in complex infrastructure configurations.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1200\" height=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/go261_terraform_stacks.png\" alt=\"\" class=\"wp-image-691663\" style=\"aspect-ratio:1.5;width:617px;height:auto\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Work faster and more comfortably in everyday development<\/strong><\/h2>\n\n\n\n<p>Several improvements in GoLand 2026.1 focus on reducing friction in common workflows and making the IDE more comfortable to use throughout the day.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Work on multiple branches simultaneously with Git worktrees<\/strong><\/h3>\n\n\n\n<p>GoLand now provides first-class support for Git worktrees, allowing you to work with multiple branches at the same time.<\/p>\n\n\n\n<p>You can create a separate worktree for a hotfix, assign another one to an AI agent, and continue working in your main branch without switching contexts.<\/p>\n\n\n\n<p>Even without AI workflows, worktrees reduce branch switching overhead and help you move faster in large repositories.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1200\" height=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/go261_worktrees.png\" alt=\"\" class=\"wp-image-691674\" style=\"aspect-ratio:1.5;width:552px;height:auto\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Enjoy a smoother and more responsive editing experience<\/strong><\/h3>\n\n\n\n<p>The editor continues to evolve with improvements designed to make everyday coding more convenient.<\/p>\n\n\n\n<p>This release introduces smoother caret animations and updated selection behavior, resulting in a cleaner and more responsive editing experience. For more information, refer to our blog post: <a href=\"https:\/\/blog.jetbrains.com\/platform\/2026\/02\/editor-improvements-smooth-caret-animation-and-new-selection-behavior\/\">Editor Improvements: Smooth Caret Animation and New Selection Behavior<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1200\" height=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/go261_caret_settings.png\" alt=\"\" class=\"wp-image-691685\" style=\"aspect-ratio:1.5;width:539px;height:auto\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Get better Linux support with native Wayland integration<\/strong><\/h3>\n\n\n\n<p>GoLand now runs on Wayland by default, improving HiDPI rendering and input handling on Linux systems.<\/p>\n\n\n\n<p>If Wayland is not supported in your environment, the IDE automatically falls back to X11 to ensure your workflow remains stable and uninterrupted. For more information, refer to our blog post: <a href=\"https:\/\/blog.jetbrains.com\/platform\/2026\/02\/wayland-by-default-in-2026-1-eap\/\">Wayland By Default in 2026.1 EAP<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Get more done with AI directly in the IDE<\/strong><\/h2>\n\n\n\n<p>GoLand continues expanding its AI capabilities to give you more flexibility and control over how you use AI during development.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Choose the best AI agent for each task<\/strong><\/h3>\n\n\n\n<p>In addition to Junie, Claude Agent, and most recently Codex, GoLand now lets you work with more AI agents directly in the AI chat. You can choose from agents such as GitHub Copilot, Cursor, and many others supported through the Agent Client Protocol (ACP).<\/p>\n\n\n\n<p>With the new ACP Agent Registry, you can discover and install supported agents with a single click.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1200\" height=\"800\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2026\/03\/image-42.png\" alt=\"\" class=\"wp-image-691635\" style=\"aspect-ratio:1.5;width:572px;height:auto\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Code With Me sunset<\/strong><\/h2>\n\n\n\n<p>As we continue to evolve our IDEs and focus on the areas that deliver the most value to developers, we\u2019ve decided to sunset Code With Me, our collaborative coding and pair programming service. Demand for this type of functionality has declined in recent years, and we\u2019re prioritizing more modern workflows tailored to professional software development.<\/p>\n\n\n\n<p>As of version 2026.1, Code With Me will be unbundled from all JetBrains IDEs. Instead, it will be available on JetBrains Marketplace as a separate plugin. 2026.1 will be the last IDE version to officially support Code With Me, as we gradually sunset the service.<\/p>\n\n\n\n<p>Read the full announcement and sunset timeline in <a href=\"https:\/\/blog.jetbrains.com\/platform\/2026\/03\/sunsetting-code-with-me\/\">our blog post<\/a>.<\/p>\n\n\n\n<p>That wraps up the highlights of GoLand 2026.1.<\/p>\n\n\n\n<p>We hope these changes make your workflow smoother and more enjoyable.<\/p>\n\n\n\n<p>We would love to hear your thoughts: Feel free to tag us on<a href=\"https:\/\/twitter.com\/golandide\" target=\"_blank\" rel=\"noopener\"> X<\/a>, drop into the #goland-gophers Slack channel, or create a ticket in our<a href=\"https:\/\/youtrack.jetbrains.com\/issues\/GO\" target=\"_blank\" rel=\"noopener\"> YouTrack issue tracker<\/a>.<\/p>\n\n\n\n<p>Happy coding,<\/p>\n\n\n\n<p><strong>The GoLand team<\/strong><\/p>\n","protected":false},"author":1574,"featured_media":693302,"comment_status":"closed","ping_status":"closed","template":"","categories":[808,4221,907],"tags":[6847,4189,477,8780],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/go\/691519"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/go"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/go"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1574"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=691519"}],"version-history":[{"count":10,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/go\/691519\/revisions"}],"predecessor-version":[{"id":693100,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/go\/691519\/revisions\/693100"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/693302"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=691519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=691519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=691519"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=691519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}