IntelliJ IDEA 2024.1 EAP 7: Full Line Code Completion, Help for OpenRewrite, and Extra


Early Entry Program

Maria Kosukhina

IntelliJ IDEA 2024.1 EAP 7 is now obtainable, offering a sneak peek into some thrilling new options deliberate for the following main launch. Notable updates embrace full line code completion, new Java inspections, and help for OpenRewrite and WireMock. Moreover, this new construct introduces enhancements for model management techniques integration, together with a recent set of product icons. 

You possibly can obtain the brand new model from our web site, replace instantly from the IDE or by way of the free Toolbox App, or use snaps for Ubuntu.

Obtain IntelliJ IDEA 2024.1 EAP #7

Uncover extra concerning the newest options unveiled within the ongoing Early Entry Program by exploring the 2024.1 EAP weblog posts. Now, let’s check out what’s been added this week! 


Full line code completion 

This IntelliJ IDEA 2024.1 EAP comes with full line code completion for Java that’s powered by a sophisticated deep studying mannequin seamlessly built-in throughout the IDE. This performance enhances coding effectivity by predicting and suggesting whole strains of code based mostly on contextual evaluation. It runs fully in your native machine, making certain your knowledge stays safe with none want for exterior server communication.

You possibly can management this function and choose the languages you’d prefer to get full line strategies for in Settings/Preferences | Editor | Normal | Code Completion | Machine Studying-Assisted Completion.

New inspections and quick-fixes

We’ve applied new inspections and quick-fixes for Java to assist maintain your code neat and error-free. The IDE now detects bitwise operations that may be changed with a name to the Lengthy.hashCode() or Double.hashCode() strategies for improved readability.

There’s a brand new quick-fix that simplifies switching between implicit and express class declarations, relying on the particular wants of your codebase.

IntelliJ IDEA now suggests utilizing present static strategies when it finds code fragments that match them precisely. This function gives an easier various to the Extract duplicate performance, making it simpler to reuse code and preserve readability with out introducing extra APIs.

As well as, the IDE now detects and studies unreachable code that may by no means be executed.

Enhanced consumer expertise with multi-release JARs

This construct introduces an enhanced consumer expertise with multi-release JAR libraries. Whenever you use a category present in several variations, the Go to declaration function now selects the correct model from the JAR based mostly in your present module’s language stage. 

Furthermore, the Go to class function gives further details about the model of the category. 

When debugging and utilizing Step Into, the IDE will navigate you to the category based mostly in your JDK model, not the language stage of your module.

Frameworks and applied sciences 

Help for OpenRewrite 

IntelliJ IDEA integrates OpenRewrite, increasing the IDE’s present refactoring capabilities and offering you with a toolkit to enhance code high quality, consistency, and maintainability. Utilizing OpenRewrite’s recipes, you may modernize legacy code, optimize efficiency, and deal with advanced migration duties corresponding to, for instance, upgrading to a brand new Spring Boot model.

WireMock server help

In IntelliJ IDEA 2024.1 EAP 7, we’re introducing WireMock help by way of a plugin that you may get from JetBrains Market or set up from contained in the IDE. This integration consists of schema completion for JSON configurations, the power to generate WireMock stub information from the Endpoints instrument window, and a built-in server run configuration that permits customers to spin up the server instantly from the editor. This addition allows you to swiftly create take a look at knowledge servers or stubs, simplifying the event of net UIs and microservices.

Person expertise

Refreshed product icons

The most recent EAP construct for IntelliJ IDEA 2024.1 introduces refreshed product icons, aligning with updates throughout all JetBrains IDEs and enhancing visible attraction and consistency throughout the ecosystem.

Model management techniques

Choice to exclude folders and information from comparability

We’ve enhanced the diff viewer with an choice to specify particular folders and information to be ignored throughout the comparability course of so as to focus solely on related adjustments. Good-click on any file or folder you don’t need to seem within the comparability outcomes and choose Exclude from outcomes from the context menu. 

Improved search within the Branches popup

We’ve enhanced the search performance obtainable within the Branches popup. With this replace, now you can filter search outcomes by actions and repositories for faster and extra exact navigation inside your model management system. 

Help for –update-refs for interactive rebase

The Rebase dialog now options the –update-refs possibility, which means that when it’s chosen, IntelliJ IDEA ensures that the Git repository’s historical past precisely displays the modifications made throughout the rebase operation. 

These are essentially the most notable updates introduced by this week’s EAP construct. For a complete overview of all of the applied adjustments, please check with the launch notes

As we method the fruits of the IntelliJ IDEA 2024.1 Early Entry Program, we extremely worth your suggestions on the brand new options since your insights play a necessary position in molding the ultimate model of the discharge. Be at liberty to share your ideas within the feedback beneath or by way of X (previously Twitter). Must you encounter any bugs, please submit a report by way of our challenge tracker

Glad growing! 

Subscribe to IntelliJ IDEA Weblog updates

image description


Supply hyperlink

NBCUniversal’s Peacock will allow you to watch 4 livestreams without delay for 2024 Paris Olympics

ByteDance’s AnimateDiff-Lightning Shines in State-of-the-Artwork Video Creation in Lightning Pace