Tuesday, July 2, 2024
HomeGolangGoLand 2023.3 Is Obtainable! | The GoLand Weblog

GoLand 2023.3 Is Obtainable! | The GoLand Weblog


GoLand 2023.3 delivers a full-fledged JetBrains AI Assistant and assist for dev containers. It provides a number of new hints, refactorings, and quick-fixes to enhance your productiveness, like an enormous replace for code folding types, hints for slice expressions, and new code perception for customized printf-like capabilities. The brand new model additionally offers updates for Docker and Kubernetes, enhancements for working with model management methods, and tweaks for net growth.

On this weblog submit, we’ll check out essentially the most anticipated and vital updates. Let’s dive proper in!


Obtain GoLand 2023.3

AI Assistant

In addition to your self, who is aware of your undertaking finest? Your IDE! And that’s why AI Assistant may be so context-aware and useful. JetBrains AI Assistant is now typically out there with a lot of new and improved options to extend your productiveness in JetBrains IDEs. Strive JetBrains AI at the moment!

Study extra about JetBrains AI and AI Assistant from the creators themselves: Watch the recording from JetBrains AI Launch Occasion On-line on our YouTube channel.

GoLand 2023.3 additionally brings a number of Go-specific changes for AI Assistant capabilities, like Rename, Generate unit check, and Write documentation.

Developer productiveness options

Code perception for customized printf-like capabilities

GoLand offers lots of helpful options for traditional printf-like capabilities, corresponding to highlighting of placeholders, error detection, code foldings, and others. You have got been asking us to supply related performance for customized capabilities and capabilities from exterior libraries, and we listened!  Now, you’ll be able to outline your personal printf-like capabilities and GoLand will present hints, labeling, and highlighting for them.

A step towards an Extract Parameter refactoring

One other extremely demanded characteristic is the Extract Parameter refactoring. GoLand 2023.3 introduces the primary a part of its implementation – the Create Parameter quick-fix for unresolved references.
It permits you to choose an unresolved reference and use the quick-fix choice to create a parameter. This triggers a Change Signature refactoring dialog, which can be utilized to pick a default worth and specify the parameter’s sort.

Generate swap for enums

GoLand provides yet one more solution to automate the mundane: Anytime you need to compose a swap assertion that’s primarily based on a listing of enums, the IDE will assist you to write it and counsel producing circumstances for all of the values within the checklist.

Assist for native Go installations with asdf

asdf is a CLI software that permits you to handle a number of language runtime variations. In response to suggestions from the group, we’ve determined to incorporate asdf assist within the present model. With this launch, GoLand will examine the Go model within the .tool-versions file and use the suitable Go SDK for the chosen undertaking.

Knowledge move evaluation

GoLand 2023.3 introduces a refined information move analyzer primarily based on the engine utilized in CLion, which runs consistently if you end up writing your code and helps enhance your code’s high quality. This characteristic detects code issues corresponding to potential nil dereference, incorrect or lacking error dealing with, and at all times true/false situations.

Please observe that this characteristic is presently in early entry and is disabled by default. You’ll be able to allow it in Settings | Editor | Inspections | Go | Knowledge Circulate Evaluation (experimental). Don’t overlook to share your suggestions with us to assist us proceed enhancing this space of GoLand!

Go 1.21 

Forwards compatibility and toolchain administration

In Go 1.21, the Go distribution consists of the go command and a bundled Go toolchain. The go command can use the bundled toolchain or different variations discovered within the system, and even obtain the required model from the web.

Particularly, the go line in a go.mod file now specifies the minimal required Go toolchain model. In earlier releases, it was a principally unenforced suggestion.

GoLand totally helps this move and routinely downloads the SDK model laid out in a go.mod file utilizing a go or toolchain line. The desired model can also be routinely set within the GOROOT settings.

Early entry

Assist for dev containers

Dev containers enable builders to explain their growth workspaces – together with IDEs, essential instruments, dependencies, and frameworks – utilizing code. These described configurations are saved within the undertaking repository and may be quickly launched inside a container.

GoLand now helps dev containers, permitting you to make use of containers as a full-featured growth surroundings to edit, construct, and run your tasks. Dev containers may be run remotely through an SSH connection or domestically utilizing Docker.

The assist comes as an early entry characteristic as we’re nonetheless engaged on a characteristic set. We worth your suggestions on this replace and encourage you to share any use circumstances that you just imagine needs to be lined in future updates.

That’s it for the discharge overview. Be at liberty to examine What’s New in GoLand 2023.3 for extra updates and options.

Depart your feedback right here, report any points you encounter to our situation tracker, ping us on Twitter, or drop us a message within the Gophers Slack #goland channel.

image description



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments