GoLand 2019.3 Turns Beta!

Our train of Early Access Program builds is quickly approaching its final destination. GoLand 2019.3 has reached the Beta milestone, so starting today we are focusing on polishing things up and getting the IDE ready for the release. Note that while the Beta is quite stable compared to our Early Access Program builds, it may still contain some kinks and glitches.

blog@2x-2

Your feedback is vital for us, so if you come across any bugs or peculiar behavior, please tell us using our issue tracker or Twitter, or ping us right here in the comments.

Download GoLand 2019.3 Beta

Continue reading

Posted in EAP, New Features | Tagged | Leave a comment

Get GoLand, Support Women Who Go and GoBridge, and Celebrate Go’s Birthday!

This weekend, on the 10th of November, the Go language turns 10 years old. Congratulations to all the gophers worldwide!

DSGN-8442_SupportWomenWhoGo-04-2

As our gift to the Go community, we have decided to launch a fundraising campaign to support the Women Who Go and GoBridge non-profit organizations. These organizations hold a special place for us, they are both dedicated to empowering underrepresented groups in tech with the chance to learn and teach with Go and help increase diversity in the Go community.

This fundraising campaign is aiming to allow thousands of Women Who Go and GoBridge volunteers across the world to teach workshops, run meetups, and provide resources to women and other underrepresented groups with limited access to technology and tech skills.

During the two-week campaign, which will run until the 22nd of November, the money generated from every new GoLand individual license sold with a 30% discount code, will go to the Women Who Go and GoBridge non-profit organizations.

How to get involved

1. When buying a new annual GoLand subscription in our e-store, on the checkout page, сlick “Have a discount code?”.

2. Enter the following 30% discount promo code:

IDONATEWWGANDGOBRIDGE

Alternatively, just click this shortcut link to go to the e-store with the code automatically applied.

3. Fill in the other required fields on the page and click the “Place order” button.

All proceeds from this promotion will go to Women Who Go and GoBridge – not just the profits, but the entire sales amount. The campaign will help these non-profit organizations continue to support their communities and their different outreach and diversity programs.

If you have any questions, please don’t hesitate to get in touch with Women Who Go at hello@womenwhogo.org, GoBridge at support@golangbridge.org, or JetBrains at sales@jetbrains.com.

Posted in News | Tagged | 2 Comments

Goland 2019.3 EAP 6 is Out with Highlighting in go.mod Files, and Just a Pinch of Bug-Fixes

Get this EAP build via the Toolbox App, download from the website, or use a snap package (for Ubuntu). You can also get it right in GoLand, select Automatically check updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates.

Download GoLand 2019.3 EAP 6

Remember that you can also use nightly builds based on the latest development code almost daily, perfect for when you don’t want to wait for the official EAP build announcements. Note they are only available via the Toolbox App.

Syntax highlighting in go.mod files

Great news, we are continuing to extend our support for Go Modules projects. GoLand 2019.3 will provide syntax highlighting for go.mod files so you can read them effortlessly. But that’s not all! Stay tuned, there is more coming soon.

highlighting-go-modules

Noticeable bug-fixes:

GO-8134 — We’ve improved the parser slightly, now it works better with trailing commas.
GO-7879 — GoLand now provides a more accurate bound check for array types.
GO-8280 — The IDE now correctly deletes comments when using the Delete type quick-fix.
GO-8267Comments inside imports don’t break Find Usages anymore.

We love hearing from you! Your feedback is invaluable and often the source of excellent ideas for improvement. Please tell us what you think by dropping us a request in our bug tracker or by tweeting us @GoLandIDE. Thank you!

Posted in EAP, New Features | Tagged , , | Leave a comment

Goland 2019.3 EAP 5 is Here with Faster Startup, Improvements for File Watcher, and More

Get this EAP build via the Toolbox App, download from the website, or use a snap package (for Ubuntu). Or, right in GoLand, select Automatically check updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates.

Download GoLand 2019.3 EAP 5

Remember that you can also use nightly builds based on the latest development code almost every day, if you don’t want to wait for the official announcements for EAP builds. Note they are only available via the Toolbox App.

Faster startup

Since GoLand 2019.2 we’ve been continuously working on reducing startup times. This release is no exception.

We are happy to announce that the first three phases, bootstrap, app initialization preparation, and app initialization, have been optimized significantly.

For bootstrap and app initialization preparation we’ve optimized routine tasks such as font loading on macOS, or parallelized them. Now such activities don’t depend on each other and only block the subsequent steps when they must.

Previously the app initialization phase sequentially waited when loading file indices, virtual file system, code styles, and so on. Now, GoLand provides service preloading with several policies (fully async or partially async).

We will keep working to reduce startup times even further, so you can expect even faster startup in the upcoming releases.

Startup-Perfomance

Enable global file watchers for all new projects

In GoLand 2018.2, we’ve added an option to share a file watcher configuration among different projects using the Project and Global options – it’s called a Global File Watcher. However, you would have still needed to enable this watcher in each new project. Now, it’s possible to enable this watcher by default in every new project you create or open.

In the menu File, select Other Settings | Settings for new projects, then go to Tools | File Watchers, add a new global watcher, and then select the checkbox next to it to enable it in all new projects.

file-watcher-for-all-projects

Configure quote style for CSS

You can now choose whether double or single quotes should be used in CSS (as well as SCSS and Less files). The new option Quote Marks is available in Settings/Preferences | Editor | Code Style | Style Sheets | CSS – Other.

Select Enforce on Reformat if you want to apply the selected quote style not only when using code completion to add new code, but also when reformatting the code.

quote-marks

Posted in EAP, New Features | Tagged , , | Leave a comment

GoLand 2019.3 EAP 4 is Out with MongoDB Support and Importing & Handling Known Package Aliases

Get this EAP build via the Toolbox App, download from the website, or use a snap package (for Ubuntu). Or, right in GoLand, select Automatically check updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates.

Download GoLand 2019.3 EAP 4

Remember that you can also use nightly builds based on the latest development code almost every day, if you don’t want to wait for the official announcements of EAP builds. Note they are available via the Toolbox App only.

MongoDB

GoLand 2019.3 EAP 4 has basic support for MongoDB!

Now you can view collections and fields in the database explorer.

database_view

Open any collection or observe the query result. It’s also possible to sort by columns or filter the values.

data_view

Run queries and get the results. Select a statement and run it by pressing Ctrl/Cmd+Enter or by using the Play button on the toolbar.

query

Your feedback is vital to us! Please share your thoughts in the comments below or in our bug tracker, or tweet us @GoLandIDE.

Enhanced handling of package aliases

GoLand now suggests importing packages based on their used aliases via Alt+Enter in any file in your project.

enhanced-handling-package-aliases

Improved code folding for composite literals

GoLand provides code folding for composite literals. Use the code folding toggles to fold or expand the code fragment, or press Ctrl+NumPad –/Ctrl+NumPad Plus on Windows or ⌘+NumPad –/⌘+NumPad Plus on macOS. To configure the default code folding behavior, go to Settings/Preferences | Editor | General | Code Folding.

code-folding-composite-literals

Notable bug-fixes:

GO-8186 — the debugger works well with projects using Go 1.10.

Posted in EAP, New Features | Tagged , , | 2 Comments

Top 25 Editing Features of GoLand IDE – Part 3

Today we publish the last part of the series about the Top 25 Editing Tips. In case you missed the previous articles, you can go back and read part 1 and part 2 before you read this and give your productivity a boost.

Let’s see what’s in this article:

And here are the tips from the other articles in the series:

Continue reading

Posted in Features, Tutorial | Tagged , , , | Leave a comment

Top 25 Editing Features of GoLand IDE – Part 2

In today’s article, we continue the series about the Top 25 editing features of the IDE that will boost your productivity. The previous post can be found here.

And here are the tips from the other articles in the series:

Let’s start with today’s tips!

Continue reading

Posted in Features, Tutorial | Tagged , , , | Leave a comment

GoLand 2019.2.3 is Out!

Please welcome GoLand 2019.2.3 with a bunch of bug-fixes!

Download GoLand 2019.2.3

Update to it via the Toolbox App, go to 2019.2.2 and click Help | Check for Updates, or download a copy from our website.

GO-7213, GO-7830, GO-6689 — We’ve fixed several issues with incorrect indents, and now GoLand works as expected in blocks inside switch cases, after an if with a multiline condition, and after an if/else.

GO-8074, GO-8051Evaluate and Log in the debugger prints the value in the debug console as expected, and the debugger itself works correctly with string values containing non-ASCII symbols.

GO-6545 — Method-like code completion doesn’t reformat a raw string after being applied.

JBR 11 (default) was updated to 11.0.4+10-b304.69 with the following fixes included:

JBR-1702 — JetBrains Runtime has been rebased on top of OpenJDK 11.0.4.

JBR-1649 — Fixed the issue with an empty bar overlapping the navigation bar.

JBR-1721 — Fixed the issue that affected the opening of projects on macOS Catalina.

JBR-1696 — Fixed the issue where the focus was being lost after displaying the Add File to Git dialog.

JBR-1778 — Fixed the incorrect font formatting (always italics) in the editor.

JBR 8 was updated to 1.8.0_212-release-1586-b14 and these issues were fixed:

JBR-1624, JBR-1683 — Fixed broken Fira Code font rendering.

We always appreciate your feedback! Please tell us what you think by dropping us a request in our bug tracker or by tweeting us @GoLandIDE. Thank you!

Posted in Releases | Tagged , | Leave a comment

Top 25 Editing Features of GoLand IDE – Part 1

Today’s post is the first one in a mini-series of posts looking at the top 25 editing features in GoLand. The best part about these features? They require zero configuration and are all built into the IDE by default, without the need to search for or install any plugins.

In case you missed our previous post about Code Completion tips, we recommend giving it a look to discover even more useful tips.

Without wasting any more time, let’s jump into the topics:

And here are the tips from the other articles in the series:

Continue reading

Posted in Features, Tutorial | Tagged , , , | Leave a comment

GoLand 2019.3 EAP 3 is Out with New Quick-fixes, Ability to Call Method of an Embedded Field in the Debugger, and More

Get this EAP build via the Toolbox App, download from the website, or use a snap package (for Ubuntu). Or, right in GoLand, select Automatically check updates for Early Access Program in Preferences / Settings | Appearance & Behavior | System Settings | Updates.

Download GoLand 2019.3 EAP 3

Remember that you can also use nightly builds based on the latest development code almost every day, if you don’t want to wait for the official announcements of EAP builds. Note they are available via the Toolbox App only.

New quick-fixes

Now it’s possible to remove all unused parameters in one go. Press Alt+Enter and select the Delete all unused parameters quick-fix.

delete-all-unused-parameters

GoLand provides a quick-fix to create a missing function or method if there is no call. Just press Alt+Enter and choose Create method/function.

сreate-method-function-quick-fix

Improvements for Postfix Completion templates

Postfix Completion templates now work well on function and method call results. Similarly, custom templates work correctly on user-specified types.

Debugger

The Evaluare Expression in the debugger now allows you to call a method of an embedded field directly.

evaluare-expression-update

Set a custom shortcut for returning the focus to the editor

Now you can set your custom shortcut for the action that takes the focus back to the editor, instead of using ESC.

Find the Focus Editor action in Preferences/Settings | Keymap, right-click it, and select Add Keyboard Shortcut from the drop-down.

focus-editor

Find in Path displays file extensions in the search results when using a file mask option

Now when you search in the Find in Path dialog using a file mask, GoLand shows the file extensions in the search results accordingly. This makes it easier for you to distinguish between files with the same name but with different file extensions.

find-in-path-update

VCS

Reworked Clone dialog

The Clone dialog is located under VCS | Get from Version control. Now you can log in from this dialog, or if you’re already logged in, the IDE will instantly preview the lists of all repositories grouped by accounts or organizations.

reworked-clone-dialog

Timeline for GitHub Pull Requests

We’ve updated the Pull Requests tab, which lets you view the list of all pull requests in the project and browse through them to see the changes and their current status. Now it displays a timeline with all the relevant information about a pull request, such as comments, reviews, and updates made to pull requests.

Simply double-click a pull request, and the IDE will display the comments in the editor tab.

timeline-github-pr

Force-add a file from an .ignore list to a VCS

Now it’s possible to force-add a file to Git (or Mercurial) if it was in the ignore list.

Posted in EAP, New Features | Tagged , | Leave a comment