What’s new in GoLand 2018.3 EAP 3?

Posted on by Ekaterina Zharova

GoLand 2018.3 EAP 3 is available, and it brings you the ability to explore Go core dumps, improved Generate getter/setter intention actions, new Unreachable code inspection, the ability to attach arbitrary folders to already opened projects via the Open Project popup, and more.

Download GoLand 2018.3 EAP

Support for exploring Go core dumps

Sometimes standard debugging instruments fail to help you understand what’s wrong with the code, and you need to look under the hood of your program while it is in a very specific state. This is where core dumps come to the rescue!

GoLand makes exploring these dumps a lot easier by letting you do that without any third-party tools, all you need is Run | Open Core Dump menu.

Additionally, you can tell GoLand to create crash dumps automatically: just put GOTRACEBACK=crash to the Environment field in under Run configuration.

Please note that core dumps are by default available only on Linux machines, however, you can analyze memory dumps on any flavor of macOS, Windows, or Linux (of course).

Exploring core dump

Unreachable code inspection

Unreachable code inspection detects parts of code that can never be executed. As usual, you can adapt Severity level of this inspection to your needs in settings: Preferences | Editor | Inspections | Go | Control flow issues.

Unreachable code inspection in action

Better Generate getter/setter

Generate getter/setter, and Generate getter and setter intention actions now create boilerplate code and allow customization of pointer/non-pointer receiver type and its name.

In a related change, Generate Constructor, Generate getter/setter, Generate getter and setter intention actions are now available via the Generate popup menu.

Generate setter via Generate popup menu

Attach action is available via the Open Project popup

Open Project popup now lets attach a directory to already opened projects, so you may have as many opened projects in one GoLand instance as you want. Click File | Open, and choose a project you want to attach. Then, you will see this project in a Project structure along with other already opened projects.

Attach button in Open Project popup

Remember, you don’t have to wait for the official EAP announcements to try new features. After the Early Access Program is open, you can play with Nightly Builds that include all the latest developments.

Get this new build download from the website, via Toolbox App, or right from the IDE. Last but not less important: don’t hesitate to share your feedback with us: here in comments, in our Twitter, or our bug tracker.

Comments below can no longer be edited.

5 Responses to What’s new in GoLand 2018.3 EAP 3?

  1. John says:

    October 19, 2018

    Once a new project is attached to the current project, how do I reverse it (i.e. detach the project)?

    • Florin Pățan says:

      October 19, 2018

      You can go to “Settings (Preferences on OSX) | Project Structure” and then remove the Content Root that you don’t need anymore.

    • Artem Khvastunov says:

      October 19, 2018

      Also, feel free to vote for https://youtrack.jetbrains.com/issue/GO-6324

  2. jan says:

    October 19, 2018

    Curious – why does the setter in your little video offer an option of Person (versus *Person)?

    • Ekaterina Zharova says:

      October 19, 2018

      Hello, Jan,

      Indeed, a non-pointer receiver has no sense in for a setter. We will fix this. Thank you!

Subscribe

Subscribe for updates