123

GoLand EAP 19: Docs in Param Info, Coverage for Multiple Packages, Build Tags an...

 6 years ago
source link: https://blog.jetbrains.com/go/2017/11/16/goland-eap-19-docs-in-param-info-coverage-for-multiple-packages-build-tags-and-more/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Early Access Program Features

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

Andrey Cheptsov
Andrey Cheptsov November 16, 2017

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:

go-Screen-Shot-2017-11-16-at-09.09.40.png

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

go-Screen-Shot-2017-11-16-at-09.08.28.png

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

go-Screen-Shot-2017-11-16-at-11.09.17.png

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:

go-Screen-Shot-2017-11-16-at-09.38.06.png

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:

go-Screen-Shot-2017-11-16-at-10.47.57.png

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:

go-Screen-Shot-2017-11-16-at-09.17.53.png

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

go-Screen-Shot-2017-11-16-at-09.20.21.png

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!

  • Share

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK