GoLand EAP 19: Docs in Param Info, Coverage for Multiple Packages, Build Tags and More

We’ve just published a fresh GoLand EAP build. Since we’re approaching the release date (roughly early December), we are now paying more attention to fixing important issues and the overall stability of the IDE. The published update comes with plenty of bugfixes. At the same time, the update includes several new features. Below are some details on some of them.

Now you can see the documentation on function parameters as a part of the Param Info popup:

It’s disabled by default. To enable it, go to Settings | Go, and check Show documentation in parameter info:

The Call Hierarchy introduced earlier now has a button that toggles the mode in which it additionally shows the calls on interfaces:

The upcoming Go 1.10 is going to support running tests with coverage from multiple packages. Now if you use Run with Coverage on a folder that has several packages, the IDE properly collects and displays the coverage data for all packages:

Note, to make it work, you have to use a Go distributive built from the sources.

Earlier we added Add directory to the current project to the context menu of the Project tool window so you could quickly add a content root to the project. Now the IDE also offers Remove directory from current project to quickly remove the content root from the project:

Running tests with build tags got easier. Now, if the tests you’re running have build tags that are not listed in Settings | Go | Vendoring & Build Tags, the IDE will automatically include the tags in the command line:

The Run Configuration dialog now has an option to automatically include the tags specified in Settings | Go | Vendoring & Build Tags into the command line:

For the complete list of changes in the build, please check out the release notes.

Once again, let us remind you that we’re getting close to the release date. It means we heavily need your feedback. Please help us test it more thoroughly to find and get fixed all the important issues before the release. When you notice anything, please be sure to submit it to our issue tracker. Thanks for your support and help!

Happy developing!

About Andrey Cheptsov

Part-time dreamer. JVM/JavaScript geek. IntelliJIDEA Marketing Manager at JetBrains.
This entry was posted in EAP, New Features. Bookmark the permalink.

7 Responses to GoLand EAP 19: Docs in Param Info, Coverage for Multiple Packages, Build Tags and More

  1. Masch says:

    Hello, I am using the latest version (173.3727.24) and when I do right button on a package I do not have the Cover option. Do i need to activate it in a specific setting?
    Thanks!
    masch…

  2. Masch says:

    Hello, I have the latest version and when I do right button on a package I do not get the Cover option menu. Should I activate it with a special setting?
    Thanks!
    masch…

    • Alexander Zolotov says:

      Hi Masch,

      By default, via right-click menu a directory-kind configuration is created. And go < 1.10 doesn't support coverage for it.
      To activate package coverage in right-click menu you have to run tests on directory and then edit a created configuration: change kind to Package there via ‘Run | Edit Configurations…’.

      The other option is to use keyboard shortcut Run… (Alt+Shift+F10/Cmd+Alt+R), to type right arrow on test configuration and invoke Cover action.

  3. pouyan says:

    Hi There,

    is there a way to add “go get” command also the list of specific go command list?

    Thanks

Leave a Reply to pouyan Cancel reply

Your email address will not be published. Required fields are marked *