JetBrains Goland Go development tool

JetBrains Goland is a Go language integrated development environment optimized for macOS. Version 2023.1.4 brings full support for Go 1.20 and a user interface optimized for Retina displays.

JetBrains GoLand For Mac v2024.3.4 updates include the following:

  1. Performance Improvements : Optimized overall performance, especially in loading and operating large projects, making the development experience smoother.
  2. Bug fixes : Fixed some known bugs and vulnerabilities, and improved the stability and security of the software.
  3. Code Analysis Tool : Enhanced code analysis capabilities, adding more code inspection rules and automatic repair options to help developers quickly identify and resolve code problems.
  4. User Interface Update : Improved the user interface to make it more intuitive and easier to use, and provide more customization options.
  5. Debugging Tools : Improved debugging tools, adding better support for multi-threaded debugging and asynchronous code, and improving the debugging experience.

These updates are designed to improve development efficiency and user experience, making JetBrains GoLand an even more powerful development tool.

Download

https://www.jetbrains.com.cn/go/download

GoLand 2024.3 New Features Overview

GoLand 2024.1 version brings several important new features:

Full-line code completion

GoLand 2024.1 introduces full-line code completion, leveraging a locally running, context-aware deep learning model to automatically complete entire lines of code. This feature increases coding speed and efficiency, working on your local device without sending any data to external servers. Full-line code completion is free for every GoLand user and is a great opportunity to experience artificial intelligence! Learn more in our dedicated blog post.

You can control this feature in Settings | Editor | General | Code Completion | ML-assisted Completion and specify which programming languages you want full-line suggestions for.

Performance improvements

Index performance improvement

In GoLand, indexing speed has been significantly improved. We’ve observed an average speed increase of around 30%. Naturally, individual user results will vary depending on their project and hardware environment. We encourage you to share your measurements with us! Below is an example demonstrating indexing using the Gin framework.

More syntax highlighting support during indexing

With this improvement, syntax highlighting for references now works as soon as the IDE starts! Seeing it is seeing it, so we invite you to check out these two examples for yourself.

AI Assistant

The JetBrains team continues to work hard to improve our AI assistant to provide even more valuable features and actions. In this new version, GoLand brings two enhancements to existing AI features. Come and try them out!

Cloud structure and interface code completion

In the 2023.3 release, we introduced inline completion for function and method blocks. In the 2024.1 release, we will also enable inline completion for structure and interface declarations. When code completion provides suggestions within a type declaration, it will consider the context of the usage, parent structures, and references to improve the relevance of AI-powered suggestions.

Documentation generation for structure fields and interface methods

GoLand now generates documentation for entire types, interface methods, and struct fields. To generate documentation, simply place your cursor anywhere in a field definition and select the Generate Documentation AI action. You can also type “//” before a field definition to trigger this suggestion.

Users can now customize prompts for specific AI actions (such as generating commit messages) to achieve more personalized and tailored results. Starting with version 2024.1, code snippets generated by AI chats can also be exported to files, and files can be attached to provide additional context.

Remote Development

Version 2024.1 provides an even better development experience for remote scenarios: highlighting, rendering, and overall fluidity during remote development are now similar to local programming. Experience for yourself that highlighting and code completion in the cloud are almost as fast as in your local codebase.

Additionally, users can now manage remote projects directly in the IDE client, creating new remote projects or opening existing ones.

Dev Containers

Now users can run Dev Containers (from local disk or from a version control system) directly from the Welcome screen. Previously, a project had to be opened before running a Dev Container.

Dev Container now provides support for file templates for popular programming languages.

We have also added settings options that allow users to configure settings for JetBrains backend IDEs (such as GoLand or CLion) directly in the devcontainer.json file.

Starting with GoLand 2024.1, the IDE will recognize devcontainer.json files regardless of where they are stored in your project. Previously, they had to be stored in the ~/.devcontainer folder.

Support for Go 1.22 updates

As the Go language continues to evolve, we strive to support all its new language features as quickly as possible.

Integer and function iteration range support

Go 1.22 adds new iteration ranges for integers and functions, which are more concise than traditional for loops.

Dependency package management in Go workspace

With the introduction of Vendoring, you can better control the dependencies used in your project and store them in the project repository. In Go 1.22, workspace commands can use vendor directories containing workspace dependencies. GoLand now supports this improvement.

Data Flow Analysis (DFA) Updates

GoLand 2024.1 further enhances the data flow analysis feature introduced in GoLand, making it stable enough to be enabled by default. GoLand’s data flow analysis currently supports three checks: const condition detection, potential null pointer dereference, and error-likely-not-nil. Learn more in our blog post.

Enhanced Terraform support

We’ve made significant improvements to our support for infrastructure-as-code development using Terraform, targeting developers, site reliability engineers (SREs), and DevOps professionals. This update includes a range of new features and enhancements to simplify the process of creating, managing, and scaling infrastructure.

It is recommended to run terraform init

To initialize your working directory with Terraform code files, you must first run terraform init. Many people often skip this step, resulting in error messages within Terraform itself and partial code completion and documentation. To avoid this, the IDE now explicitly recommends running terraform init.

Third-party provider support from the Terraform Registry

The Terraform plugin now offers expanded code completion for over 3,900 third-party Terraform providers, making it easier for developers to write code efficiently. Additionally, you can access the latest documentation and specific version information for each provider right within the IDE. This allows you to quickly explore new Terraform providers and learn their capabilities without leaving the IDE.

Terraform Template Language (tftpl) support

We’re excited to announce support for Terraform’s Template Language (tftpl), which you can use to enhance the workflow of configuration files, scripts, or any program code, such as web server, network, or service configuration. Templating just got easier! You can now dynamically populate values in templates at runtime, making it easier to render specialized templates. Terraform’s template language not only supports variable substitution and control flow elements, but also includes functionality for lists, maps, and generating formats like JSON and YAML.

User experience and other features

New Terminal

GoLand 2024.1 introduces a brand new terminal tool that combines visual and functional enhancements to make terminal-based tasks simpler and more convenient. It provides a convenient history, convenient module switching, and a prompt for each available command.

GoLand 2024.1 also includes a new Terminal tool. This new Terminal tool not only has visual improvements but also adds some features that make performing tasks in the terminal easier and more convenient.

The new Terminal tool window integrates seamlessly with the IDE’s new user interface style, offering command completion for commands, paths, arguments, and options. It also provides a convenient command history, making it easy to find previously executed commands. Furthermore, you can easily switch between different modules, allowing you to work in multiple terminal sessions simultaneously.

You can perform various tasks in the Terminal tool, such as building projects, running tests, and executing other commands. The introduction of the new Terminal tool provides a better terminal experience, enabling developers to handle terminal operations in the IDE more efficiently.

Option to scale the entire IDE

GoLand 2024.1 also introduces the option to scale the entire IDE. In previous versions, the scaling range only included options from 100% to 200%. With the current version, you can now also scale the IDE down to 90%, 80%, or 70%. This allows you to adjust the IDE’s display scale to suit your needs, based on your preferences and monitor size.

The option to scale the entire IDE provides greater flexibility, allowing each user to customize the IDE’s appearance and interface size according to their preferences and needs.

Application of sticky rows in editors

To improve the experience of working with large files and navigating new codebases, GoLand version 2024.1 introduces sticky lines. This feature pins key structural elements, such as the beginning of a class or method, to the top of the editor, regardless of how you scroll through the code. This way, scopes are always visible, and you can quickly navigate the code by simply clicking on the pinned line.

The sticky lines feature significantly improves efficiency when working with large files and exploring new code bases. It makes it possible to quickly navigate code based on structural elements, eliminating the need to scroll through the entire file to find a specific class, method, or scope. This feature provides a better code browsing and navigation experience, making it easier for developers to understand and edit code.

Version control system updates

GoLand 2024.1 also brings some improvements to the version control system to improve developer efficiency in team collaboration and code review.

Code review in the editor

In this new version, GoLand provides a smoother and more flexible code review workflow for GitHub and GitLab users. Authors and reviewers can now interact directly in the editor, without switching to external tools or platforms. This makes code reviews more efficient and convenient, allowing for faster completion of code modifications and team discussions.

CI detection status in the Git tool window

GoLand 2024.1 introduces a new column in the Log tab of the Git tool window that displays the results of GitHub commit detection performed by the CI system. By clicking on this tab, you can view the complete CI detection results.

Visual indication of unprocessed GitHub updates

GoLand version 2024.1 introduces a visual indicator of pending GitHub updates. When a change requires your attention, a small blue dot appears on the tool window icon. Unread pull requests are also marked with a blue dot, ensuring you don’t miss any updates during the code review process.

Web and database enhancements

GoLand version 2024.1 inherits some enhancements from WebStorm and DataGrip IDEs to improve support for web development and database operations.

If you’re interested in new features and functionality for web development, check out the WebStorm IDE updates. Similarly, if you’re interested in improvements to database management and querying, check out the DataGrip IDE updates. The integration of these features allows GoLand to better support operations and workflows in web and database development.

Let’s take a look at some of the unique advantages of Goland for Mac:

Powerful code insight

Goland provides a variety of code insight features that can greatly improve the efficiency of writing Go code:

  • Real-time error detection and correction suggestions can instantly find and correct problems while coding
  • Supports safe refactoring with one-step undo, allowing you to experiment with your code at any time
  • Intelligent code completion and document prompts make coding more efficient
  • Useless code detection to ensure the simplicity and efficiency of code

These features are very helpful for both new and experienced Go users. Goland can be your best partner for agile Go application development.

Powerful operation and debugging functions

Goland has built-in running and debugging features that make it easy to execute and test your Go code:

  • Support writing and debugging test cases directly in the IDE
  • The coverage report can fully display the coverage of the test
  • Support breakpoint debugging, single-step execution and other functions
  • You can view the call stack of goroutine

These features can greatly improve your debugging efficiency of Go applications.

Integrated version control system

Goland supports Git, GitHub, Mercurial and other major version control systems out of the box. You can commit, update, and view historical versions of your code directly in the IDE.

Rich plug-ins and customization

Goland has a rich plugin ecosystem. You can install various plugins to extend Goland’s functionality, such as supporting JavaScript and TypeScript development.

In addition, Goland provides a high degree of customization. You can adjust the color theme, editor layout, etc. to make the Goland interface fully conform to your personal programming habits.

Powerful code editor

Goland has a powerful code editor that provides code highlighting, automatic completion, syntax error checking, code formatting and other functions, which can greatly improve the efficiency of Go language development.

The editor supports Split View mode, allowing you to open multiple files for editing simultaneously on a single screen. It’s optimized for Mac’s Retina display, making text and icons appear sharper and more detailed.

Intelligent debugging function

Goland has powerful debugging features built in. You can set breakpoints for debugging, single-step execution, view variables and call stack, etc.

Supports launching and managing the Delve debugger through a GUI. You can view all running Goroutines and set watch expressions.

Rich version control system support

Goland has built-in support for mainstream version control systems such as Git, Subversion, Mercurial, and Perforce.

You can perform version control operations directly in the IDE, such as submitting modifications, updating versions, viewing file history, creating branches, etc., to improve version control efficiency.

Cross-platform development

Goland supports Go development on multiple platforms including Mac, Windows, and Linux. Remote development is possible through the remote development plugin.

Plugin Ecosystem

Goland has a large number of plugins available for installation. Common plugins include code statistics, REST Client, language pack switching, etc.

You can install and use it online by going to Preferences > Plugins. You can also develop your own plugins to customize the IDE.

Theme and shortcut customization

Goland provides a wealth of personalization options. You can customize the appearance theme, adjust the font size, editing area color, etc.

You can also customize shortcut keys and adjust them to your personalized development hotkey combinations.

Conclusion

Goland for Mac maintains unified functionality across all platforms, and features an optimized interface and text display for Mac’s Retina display, providing a superior user experience for Go developers. Its powerful code editing and intelligent debugging capabilities significantly improve Go development efficiency.

The resources on this site come from the Internet and are used for learning and research by Internet enthusiasts. If your rights are accidentally infringed, please contact the webmaster in time to handle and delete them. Please understand!
IT Resource Hub » JetBrains Goland Go development tool

Leave a Reply

Provide the best collection of resources

View Now Learn More