GoLand 2018.1 EAP 3: Move Refactoring, Better Test Runner, Go Build, QuickDoc, and More
Great news everyone! A fresh GoLand 2018.1 EAP build is here with lots of goodies inside. Read on to learn what’s in there or go ahead and download the EAP build to try it for yourself.
Thanks to the new -json option introduced in Go 1.10 for go test, the update is able to represent the results of the tests better. Now it supports the hierarchy of tests and correctly attributes the output and compilation errors to individual tests and packages:
With the updated Go Build run configuration now you can select and run multiple files (GO-555). You can either select the files in the run configuration dialog using the Plus button next to the Files field, or select the files in the Project tool window and then choose Run from the context menu:
The Quick Documentation action is now aware of example functions and includes them as part of the documentation (GO-2000):
The family of available refactorings for Go is extended with Move (GO-4088). This refactoring allows you to move any top-level member to another file:
The Undo action when used along with File Watchers, doesn’t offer to undo Reload from Disk anymore (GO-4726). Instead, it simply undoes the latest change, including the change made by File Watchers.
Last but not least, the Auto Import has been made smarter and prevents you from adding undesired import statements (GO-5118).
If you’d like to make your life easier and automate managing updates, please consider installing Toolbox App.
Subscribe to Blog updates
Thanks, we've got you!
How Do You Become More Productive with GoLand? Complete Interactive Courses!
GoLand has a lot of features, and it can be overwhelming at first. The trick is to remember the most important IDE actions and shortcuts, and the rest will follow. To help you, we have created the Learn GoLand section on the Welcome screen. It contains several interactive courses, mea…
Compile and run Go code using WSL 2 and GoLand
Today, I'm happy to introduce our latest feature to you to use Windows Subsystem for Linux version 2 (WSL 2, or simply WSL) to run or test Go applications seamlessly. This feature is called Run Targets and supports WSL 2, Docker, and SSH remotes. If you'd like to learn more about these, the overvi…
How to use Docker to compile and run Go code from GoLand
Up until now, when you wanted to test or run your shiny new code, you had only the local machine to do so. Many of our users have told us that they'd prefer to use Docker to run their code since that's where they will ultimately test, build, and deploy the code with their CI/CD pipeline. Today…
What Are Run Targets & How To Run Code Anywhere
Previously, when you were using GoLand, you could test and run your code only on the same machine you had the IDE installed on. You could use the FTP/SFTP Connectivity (ex. Remote Hosts Access) plugin and the Settings/Preferences | Tools | External Tools feature or the built-in Docker plugin to achi…