IntelliJ IDEA 2024.1 Goes Beta!

[ad_1]

Early Entry Program

Maria Kosukhina

The 2024.1 Beta model of IntelliJ IDEA has arrived!

You will get the most recent construct from our web site, by means of the free Toolbox App, or through snaps for Ubuntu.

Obtain IntelliJ IDEA 2024.1 Beta

Our newest construct integrates all the important updates launched through the IntelliJ IDEA 2024.1 Early Entry Program. Right here’s a brief recap of the brand new options geared toward enhancing varied elements of your improvement workflows: 

Assist for Java 22 functionalities

Full line code completion

A revamped Terminal device window

Conditional statements protection

Sticky traces within the editor 

Earlier availability of IDE options throughout challenge indexing 

In-editor code evaluations

Enriched help for GitHub Actions

Improved workflow for logs

Inline breakpoints for a number of statements 

Opening velocity enhance for Maven tasks

Assist for OpenRewrite 

WireMock server help 

And lots of extra 

To be taught extra about these and different enhancements, take a look at the posts tagged beneath the IntelliJ IDEA 2024.1 EAP part on our weblog.

Though the addition of latest options has completed and the group is now refining these included in v2024.1, we nonetheless have updates to share. Take a better look!

Java 

Revamped Detected Conflicts dialog  

In v2024.1, we’ve revamped the Detected Conflicts dialog to enhance the person expertise and readability. Now, the code context mirrors the editor, supplying you with clearer perception into conflicts. We’ve optimized textual content show, and the IDE now routinely saves window measurement changes for future use. We’ve additionally up to date the buttons and their conduct to streamline the refactoring workflow. The dialog is now absolutely accessible through the keyboard, that means that you should use shortcuts and arrows keys for seamless interplay. 

Rename refactoring inlay trace

To make the renaming course of simpler and extra intuitive, we’ve applied a brand new inlay trace showing atop the modified code aspect. To replace all references to the brand new model inside the codebase, you solely must click on on the trace and ensure the change. 

Kotlin

Official Kotlin code model propagated on all tasks

Ranging from model 2024.1, the IDE uniformly applies the official Kotlin model information because the default possibility for all tasks, except explicitly specified in any other case. In case your current challenge makes use of an older code model with out specific configuration, the IDE will routinely change to the Kotlin Coding Conventions code model and supply a notification to provide you with a warning of this alteration. To forestall any undesired formatting alterations, we advocate familiarizing your self with this code model migration information

Static imports preserved on copy-pasting

In model 2024.1, we’ve launched a long-awaited enhancement to the copy and paste performance, significantly beneficial when dealing with nested objects, enums, and Java static imports. The IDE now precisely preserves static imports, making certain they’re transferred precisely the identical means as they seem within the supply code.

Frameworks and applied sciences 

Enhanced Terraform help

Within the upcoming 2024.1 replace, we’re introducing important enhancements in help for infrastructure as code improvement for Terraform, geared toward builders, web site reliability engineers (SREs), and DevOps. This replace features a sequence of latest options and enhancements to simplify the method of making, managing, and scaling your infrastructure. 

Suggestion to run terraform init

To initialize the working listing with Terraform code information, we should first run terraform init. That is usually missed, resulting in error messages from Terraform itself, in addition to incomplete code autocompletion and solely partial show of documentation. To keep away from this, the IDE now explicitly suggests operating terraform init.

Assist for third-party suppliers from the Terraform Registry

IntelliJ IDEA now presents prolonged code completion capabilities for greater than 3,900 third-party Terraform suppliers, making it simpler for builders to write down code effectively. Moreover, you’ll discover the most recent documentation for every of those suppliers, together with their particular variations, immediately inside the IDE. 

This lets you discover new Terraform suppliers and be taught their capabilities sooner – all with out leaving the IDE.

Terraform template language (tftpl) help

In our newest replace, we’re excited to unveil help for Terraform’s template language (tftpl), enhancing your workflow with configuration information, scripts, or any program code, corresponding to internet server, community, or service configurations. Templating simply received simpler! Now, you may dynamically fill in values inside your templates at runtime, streamlining the method of rendering templates for particular makes use of.

By default, information with the *.tftpl extension are acknowledged as plain textual content with templating capabilities. Nonetheless, in case your necessities are extra particular, we’ve added the choice to seamlessly combine along with your most popular programming language. Merely right-click the file, choose Change plain textual content template to information language, and select the language that matches your .tftpl information. This function is designed to boost your templating expertise, making it extra versatile and highly effective than ever earlier than.

Terraform’s template language not solely helps variable templating and management movement parts, it additionally encompasses lists and maps, together with the flexibility to generate JSON and YAML codecs.

Construct instruments 

Assist for Maven Shade Plugin renaming workflow

With the discharge of IntelliJ IDEA 2024.1, we’re including long-awaited help for Maven Shade Plugin renaming. Now, IntelliJ IDEA is conscious of the renaming workflow and seamlessly manages these eventualities to make sure correct code highlighting and navigation when working along with your shaded JAR and its dependencies.

Undertaking Maven repositories within the Maven device window

To boost its accessibility, the listing of Maven repositories alongside their indexing standing is now displayed within the Maven device window, as an alternative of its earlier location inside Maven settings.

Entry supply information immediately from the Fast Documentation popup

We’ve up to date the Fast Documentation function to simply obtain sources. Now, while you’re viewing documentation for a library or dependency and must entry its supply code, you may simply achieve this with one press of the F1 key. The up to date popup supplies a direct hyperlink to obtain the required supply information, streamlining your workflow. 

Gradle model help replace

Ranging from this model, IntelliJ IDEA now not helps tasks utilizing Gradle variations older than 4.5. Which means the IDE is not going to carry out Gradle sync for tasks with unsupported Gradle variations.

Model management methods 

Visible indicators for pending GitHub updates

We’ve launched visible indicators to trace about pending updates inside your code evaluation workflow. When there are modifications requiring your consideration, a blue dot badge will seem on the device window icon. Moreover, unseen pull requests might be marked with a blue dot, making certain you don’t miss updates in your code evaluation course of.

AI Assistant 

Starting with the Beta model of IntelliJ IDEA 2024.1, AI Assistant has been unbundled and is now obtainable as a separate plugin. This alteration is pushed by the necessity to provide higher flexibility and management  over your varied preferences and necessities, enabling you to decide on if and while you’d like to make use of AI-powered applied sciences in your working environments.

That’s a wrap! For the complete listing of updates within the newest construct, please seek advice from the launch notes.

Our Early Entry Program might be closing quickly, so we encourage you to take your time testing out the brand new options and sharing your suggestions with us. You possibly can drop us a line within the feedback under or attain out to us on X (previously Twitter) – we’re all the time seeking to profit out of your enter. Lastly, in case you occur to identify any bugs, please report them utilizing our subject tracker.

Keep tuned for extra information subsequent week!

Completely satisfied creating!

Subscribe to IntelliJ IDEA Weblog updates

image description



[ad_2]

Supply hyperlink

Amber launches Tesla guarantee service to assist house owners of getting old EVs

Embracing the Period of 1-Bit LLMs: Microsoft & UCAS’s BitNet b1.58 Redefines Effectivity