Features Releases

GoLand 2018.1.2 is Out

It’s been a while since our last update, but we haven’t been twiddling our thumbs. No, sir. We’ve made some very cool improvements in GoLand, both in Go support and other platform-specific areas. Please welcome GoLand 2018.1.2, a fresh bugfix update!

In this update:

  • The Test Runner now supports ANSI escape codes and colors the output accordingly.

  • The Dep integration had been optimized in terms of when it runs dep status. Now this command is not executed during code editing. Instead, the IDE performs its own checks and suggests running dep ensure based on those.
  • To assist in error handling, our collection of Postfix Completion templates has been updated with two more: rre and rrv. Both generate code that checks if an error variable is not nil and then exits the function by returning default values. The rrv template is applied to variables:

The rre template is applied to expressions returning an error result:

  • The Search for text occurrences check-box, which is offered when calling Find Usages, now keeps the state, and by default is disabled when the action is called on a method.
  • The Join Lines action now works correctly (previously was broken on comments).

The important VCS bug-fixes include:

  • Better performance when scrolling in the Log and when indexing shallow clones
  • A few fixes related to partial Git commits

Also, here’s a list of changes merged from the WebStorm 2018.1.2 release:

  • The Rename refactoring on an Angular component, will prompt you to also rename the related .ts, .html, and .css files. Make sure the Angular plugin is installed and enabled.

  • The Auto Import for the RxJS operators now respects the new import style introduced in RxJS 6.0. For example, instead of import { Observable } from ‘rxjs/Observable’; you should now use import { Observable } from ‘rxjs’.
  • A new option, Ensure breakpoints are detected when loading scripts, has been added to the JavaScript Debug Run Configuration. This option should solve the problem with some breakpoints that are in the code that is executed on page load not being hit before you reload the page in the browser.
  • For JavaScript object properties, when you explicitly check that they exist, you will now get more accurate code completion:

That’s about it. The complete list of changes can be found in the release notes.

Now, once you’ve learned what’s in the update, go ahead and install it. If you use Toolbox App, it can install the update for you. Otherwise, click Check for Updates and if you’re running GoLand 2018.1.1, it will prompt you to install the patch. Finally, the update can be downloaded from the website and installed manually.

Don’t forget to share your feedback here in the comments, or directly in our issue tracker.

Happy developing!

image description