Webinar Recording: Migrating to Gogland from a Code Editor: Tips & Tricks

In case you’ve missed it, last week we had two great events. First, we held a wonderful webinar with Brian Ketelsen and Florin Pățan on migrating to Gogland from a code editor. Second, we released a new EAP build that among other things brings remote debugging capabilities and better performance.

The webinar may be interesting to you if you have a lot of experience with editors and never had a deep look at Gogland before. Brian, as a heavy user of many code editors (including Code and Vim), shared his experience: both good and bad. Florin, as a more heavy IDE user, showed the benefits an IDE (and Gogland in particular) offers comparing to the editors. Also, Florin and showed quite a lot of useful tips and tricks: things that help you be a more productive with Go.

For those who missed the webinar, here’s a recording:

If you don’t want to watch the whole video (which is a bit more than 1 hour), use the following links to jump to the most interesting part:

Please enjoy the video, and don’t forget to give a try to the update we released last week.

Develop with Pleasure!

Posted in Webinars | Leave a comment

Gogland EAP 9 is Available

It’s been a while since the last Gogland EAP, but here we are: Gogland EAP 9 is finally ready, bringing lots of bugfixes and several new features.

First, we’ve added remote debugging support. All it needs is that you set up a Go Remote run configuration with and tell it which Host and Port to connect to and make sure the application you’re going to debug is launched with Delve.

When you start that run configuration, you’ll see the good old Debug tool window:

Layout of log files can be adjusted to your liking:

And then displayed in the Run tool window when you run the application:

Also, the update brings two new inspections:

  • Misplaced fallthrough statements.
  • Functions without body.

And here’s a couple more things to look at:

  • The Go SDK is now selected automatically when you import a project
  • Better startup speed and overall performance
  • Configuration related to imports (sorting, exclusion) is now stored on the project level
  • A number of bugfixes for auto-imports and imports sorting

Please give a try to the new build and share your feedback via our issue tracker.

Develop with Pleasure!

Posted in EAP, New Features | Tagged | 1 Comment

Gogland EAP 8 is Available

Hooray! Fresh Gogland EAP 8 is here, packed with improvements, bug fixes, and things that are just really cool. Get it from our website, via patches, or from Toolbox App.

Postfix Completion, which you may be familiar with from Java and JavaScript support in IntelliJ IDEA and WebStorm, is now available for Go:

The list of supported templates is available in Settings | Editor | General | Postfix Completion:

If you need a suggestion that’s not included here, please add your suggestion it to GO-3796.

There’s also a new inspection that reports redundant boolean expressions and offers a quick-fix that simplifies them:

The new Context Info action (available from View in the main menu or via Alt+Q for Windows/Linux or Ctrl+Shift+Q for macOS) shows the current method or class declaration when it is not visible:

The built-in spell-checker now reports typos in string literals and helps to fix them:

The debugger has also been improved in a number of ways, including bug fixes. Delve has been upgraded to 1.0.0-rc.1, which among other improvements adds support for LLDB on macOS.

Improvements in the editor include better formatting, inspections, completion, performance, and more.

You may also find these platform improvements useful:

  • Better font rendering on Linux
  • Find in Path usability
  • Manual columns reordering in Git Log

The built-in JRE has been updated. For the complete list of changes there, see the release notes.

Last but not least, if you’re using Gogland, you can now also switch to the nightly builds of the Go plugin. All it takes is registering “https://plugins.jetbrains.com/plugins/nightly/9568” as a Repository URL in Settings | Plugins | Browse repositories | Manage repositories.

This pretty much sums up all the goodies in this EAP. Please give it a try and share your feedback with us. Both bug reports and feature requests are welcome in our issue tracker.

Develop with Pleasure!

Posted in EAP, New Features | 3 Comments

Nightly Builds of the Go Plugin for IntelliJ IDEA and Other IDEs

As you may already know, Gogland‘s functionality is now available as a plugin for IntelliJ IDEA, Android Studio and other JetBrains IDEs. Note that the plugin requires the IDE to be v2017.1 or higher version.

New versions of the plugin will appear along with (or right after) new Gogland EAP releases. For those who’d like to have access to the most recent changes and new features, we offer a channel with nightly builds of the plugin.

To receive nightly versions of the plugin, please register “https://plugins.jetbrains.com/plugins/nightly/9568” as a Repository URL in Settings | Plugins | Browse repositories | Manage repositories.

Develop with Pleasure!

Posted in News | 7 Comments

Gogland EAP 7: Faster Completion, Package Rename, 2017.1 Platform Features, Plugin, and more

Following IntelliJ IDEA 2017.1 released earlier today, a fresh EAP build for Gogland EAP 7 becomes available, bringing you more bugfixes and new features.

First of all, Debugger improvements.

Run to cursor action that resumes code execution and stops at a given line is now available both via shortcut and from the menu.

Breakpoints now support Conditional expressions that let you define conditions under which they will be hit:

Data representation inside Variables, Watches, Evaluate Expression, Inspect and inline information is improved: it displays nested objects, supports arrays, etc.

Also, the update brings several new intention actions, that let you add an alias for an import statement and replaces all usages accordingly:

And to invoke go generate for a generated comment at the caret:

The “err” live template has been improved and now it is aware of the error variables within the scope:

In Settings | Editor | General | Code Folding the IDE offers two new options (off by default): One line returns and One line panics. These options fold single-line if statements with return and panic statements inside to a more compact syntax:

We’ve merged changes from IntelliJ IDEA 2017.1 that include all the platform improvements and new features, the most notable of which is the reworked Find in Path dialog, that now provides instant preview of the sought text and lets you jump to any result with Enter:

Another area of the platform improvements is JavaScript support, and it includes dozens of changes:

And, of course, many small, but important Go improvements:

  • Faster Code completion
  • Rename and Find usages for packages, imports and qualifiers
  • Validation of canonical import paths
  • File Rename now renames the corresponding test file as well
  • Highlighting and filtering generated files in Find usages/Refactorings according to the proposal
  • Bugfixes in the Formatter, Inspections, Refactorings and Completion

Last, but not least, we’re happy to announce the availability of the Go plugin for IntelliJ IDEA Ultimate and other paid IDEs which provides the functionality equal to Gogland.  Read the FAQ to see how it differs from the third-party plugin.

Note that there’s no patch update available due to the migration to IntelliJ Platform 2017.1.

That’s it for today. Feel free to give the new EAP build a try right away and share your feedback with us through the comments as well as the issue tracker.

The Drive to Develop

Posted in EAP, New Features | 9 Comments

Gogland EAP 163.12024.20 is Out

Great news, everyone! Please welcome a freshly-baked EAP build, with more improvements and bugfixes. The new build can be downloaded from our website, without any forms and emails.

Major improvements include:

  • C syntax highlighting in injected fragments

  • Formatting with gofmt or goimports when saving files
  • Default location for new projects is now correct
  • Improved Implement interface action: it doesn’t add already existing methods; suggests only interfaces
  • Inspection for private fields with tags
  • Create function quick fix is available when functional types are expected
  • Adjusting import paths when renaming directories

For more details, see to the release notes.

Develop with Pleasure!

 

Posted in EAP, New Features | 4 Comments

Gogland EAP 163.10615.22 Adds Parameter Name Completion

Holidays are finally over, and now it’s time to get back to work so we’ve prepared a fresh Gogland EAP build for you to download and try.

In addition to bugfixes, the new build features improved code completion features with Parameter Name Completion:

Gogland EAP participants can get this build via Check for Updates command right from the IDE. Everyone else have to sign up for the EAP, and then receive the download links via email.

If you haven’t heard of Gogland before, check out its official website and FAQ.

Develop with Pleasure!

Posted in EAP, New Features | 12 Comments

Announcing Gogland – Brand New Go IDE from JetBrains

Three years ago we at JetBrains made a strategic decision to contribute to go-lang-idea-plugin, the open-source initiative aimed at building an IntellIJ plugin for Go. Over these three years we believe our efforts (3,000 commits in total) have helped rebuild the plugin from the ground up, giving users a more stable, extensible and feature-rich development experience.

Last year we started tracking the number of unique users of the plugin. This number has doubled in the last year alone up to 30K monthly active users. This fact, along with lots of users asking us to bring IntellIJ-like coding experience to Go, convinced us to finally fork go-lang-idea-plugin half a year ago and introduce our own IDE for Go. We assembled a dedicated team to work on improving Go tools support and overall development experience.

Today we announce Gogland, a brand new Go IDE and the latest addition to the IntelliJ family. Though Gogland is still under heavy development, today we’re opening its private EAP (Early Access Program), so you have a chance to become an early Gogland adopter.

bb38acfc-1724-4058-a302-2723f5797ffd

For more about Gogland, please visit its official website. Also consider reading the FAQ.

To gain access to early builds of Gogland, please sign up for the EAP.

Note that Gogland is a codename and not the final product name. Send us your name ideas and suggestions!

The Gogland IDE Team
https://www.jetbrains.com/go/

Posted in New Features, Releases | 63 Comments