The Early Entry Program for GoLand 2023.3 is now open! If you wish to know our plans for the ultimate launch, take a look at the roadmap weblog submit.

You may get the primary EAP construct through the Toolbox App, obtain it from our web site, use a snap bundle (for Ubuntu), or from inside GoLand, choose Test IDE updates for Early Entry Program in Preferences / Settings | Look & Conduct | System Settings | Updates.
For those who’re not aware of our Early Entry Program, right here’s a short overview:
EAP builds allow you to check out the newest options and enhancements in GoLand whereas we proceed to work on them. These builds are usually not totally examined and is likely to be unstable, however that is the place you may assist us. By taking these builds and their new options for a take a look at drive in your real-world initiatives and situations, you may assist us polish them. This manner, when the ultimate model is launched, it’s going to work easily for you.
- The EAP allows you to be among the many first to check out the latest options.
- EAP builds are free to make use of for 30 days from the construct date. You should use this era as an prolonged trial of GoLand.
- We offer a sequence of EAP builds till a secure launch is nearly prepared. For the upcoming model 2023.3, the EAP interval will final till the top of November.
- In every launch cycle, we reward probably the most energetic evaluators and individuals who helped us make GoLand higher by sharing their product expertise, suggestions, and strategies with a free 1-year GoLand subscription.
- Recent builds come out virtually day-after-day. For those who don’t need to look forward to the official EAP construct bulletins, you may merely obtain our nightly builds, that are solely accessible through the Toolbox App. Notice that the nightly builds typically don’t meet the standard requirements for official EAP builds, they usually don’t include launch notes. Like EAP builds, they expire inside 30 days of being launched.
Now let’s take a look at what we have now applied on this EAP construct.
Improved code folding fashion
In a number of instances, GoLand collapses blocks of code to enhance readability. We’ve been getting requests to enhance code folding and produce it extra in step with Go syntax. In 2023.3, the GoLand staff is introducing a brand new fashion for code folding.
One-line returns and panics
For one-line returns and panics, there’ll now be an choice to make use of the brand new code folding fashion:

In 2023.3, Go syntax will likely be used as a substitute of the upward arrow and the asterisk. Syntax highlighting is preserved, and you may edit the content material of the block with out having to broaden it. For each the brand new and outdated folding kinds, we solely fold the code if the folded textual content doesn’t exceed the suitable margin. The fitting margin is configurable within the IDE.
To keep away from code symmetry points, this folding is disabled for if
situations with an else
department.
For case
clauses, we use an identical method: the upward arrow is eliminated, and solely the double colon is folded.

The brand new folding syntax is enabled by default. You’ll be able to change to the outdated syntax or disable folding in Settings | Editor | Common | Code folding.

Features with single returns
As we’ve completed for one-line returns and panics, we’ve additionally enabled folding for capabilities with a single return
assertion.

Error dealing with
To enhance the readability of error-handling code, GoLand routinely folds error-handling if
blocks.
Most if
blocks containing error-handling code, the place the if
situation is both a comparability of errors or a name to errors.Is
or errors.As
, are already folded by single-line returns.
For if
blocks with error-handling code, GoLand additionally folds all single statements, for instance with calls to logging.

You’ll be able to handle the entire folding choices in Settings | Editor | Common | Code folding.
Disabled code folding for string formatting
We’ve disabled code folding for string formatting to make the related syntax extra seen. What’s extra, the brand new method to code folding lets you edit code blocks with out having to broaden them. You’ll be able to allow code folding for string formatting in Settings | Editor | Common | Code folding.

File contents within the Construction view
The Construction view is a strong device that gives an outline of the challenge’s construction. Nevertheless, for bigger initiatives, it might require you to pay further consideration, as some information within the bundle can have tons of of fields and strategies unfold throughout a number of information.
Beforehand, if any strategies have been outlined for a construction declared in one other file, your complete sort with all its properties and strategies can be displayed. Now, GoLand can solely show the strategies declared within the present file, which ought to enhance the readability of the Construction view.

Code protection profiles for packages
The code protection profile for packages permits us to see precisely what code has been reached in single or a number of runs. The characteristic additionally helps in detecting lifeless code.
Code protection profiles are supported in Go ranging from the 1.20 model, and GoLand will help them in v2023.3.

AI Assistant
AI Assistant (restricted entry) is now in a position to clarify regex variables in Go code. Simply place the caret inside an everyday expression, select AI Actions, after which choose Clarify Go RegExp fragment.

We’ve additionally added Go particular prompts to AI Assistant. The prompts seem as clickable hyperlinks in a window with an empty chat. For those who click on on a hyperlink, a corresponding question is handed to AI Assistant.

Please word that AI Assistant will not be but usually accessible. See our documentation for extra particulars.
Fast-fix for making a perform in one other bundle
We’ve added a quick-fix that lets you sort a perform title after which implement it in a bundle of your selecting. Place the caret on a perform title, press ⌥ ↩ (Alt + Enter) to see all accessible fixes and choose Create perform ‘perform title’.

Within the pop-up window that seems, you’ll select the goal for the perform. You’ll be able to enter the title of an present file or provide an unused title, through which case a brand new file will likely be created from scratch.

Present parameter information for slice expressions
Slice expressions could be a bit complicated, particularly ones with three indices. GoLand will now present you hints whilst you’re constructing slices.

IntelliJ Platform enhancements
As a part of the big household of JetBrains IDEs, GoLand will get quite a lot of options which can be applied for the entire IntelliJ Platform! Listed below are some new options from the IntelliJ IDEA 2023.3 EAP:
Person expertise
- We’ve applied an choice to cover the principle toolbar when utilizing the IDE’s default viewing mode, similar to within the outdated UI.
- We’ve launched the Default format choice, which gives a fast strategy to revert your workspace’s look again to its default state.
- Shade-coded highlighting for editor tabs is now enabled by default.
- Now we have redesigned the JetBrains IDE icons for macOS to align them with the usual fashion tips of the working system.

Model management programs: GitLab snippets
We’ve added help for GitLab snippets.
Efficiency: Obtain of shared JDK indexes enabled by default
To spice up the IDE’s startup pace, we’ve optimized the indexing course of by making the obtain of shared JDK indexes the default. GoLand will now seamlessly hook up with a devoted useful resource within the background, fetching and making use of shared indexes on your JDK routinely.
We might respect your suggestions on our newest options. Be happy to contact us on social media, depart your feedback right here, open a problem in our tracker, or drop us a message within the Gophers Slack #goland channel. Thanks!
Subscribe to Weblog updates