What’s New in IntelliJ IDEA 2024.1? A Deep Dive into the Latest Features
IntelliJ IDEA 2024.1 introduces full line code completion, enhanced Java 22 support, a revamped terminal with visual enhancements, sticky lines in the editor, improved indexing for Java and Kotlin, scalable UI, language injection in string templates, upgraded logging workflow, and a redesigned Conflicts Detected dialog.
Key Highlights
Full‑Line Code Completion and Java 22 Support
The Ultimate edition now offers full‑line code completion, providing suggestions for entire statements. It also adds support for JDK 22 features released in March 2024, including unnamed variable and pattern final iteration, string templates, the second preview of implicit class declarations, and super(...) calls in preview mode.
New Terminal (Beta)
A redesigned terminal groups commands into blocks, enables smooth navigation between blocks, offers command completion, and provides easy access to command history.
Sticky Lines in the Editor
Sticky lines keep important structural elements such as class or method headers fixed at the top of the editor while scrolling, ensuring the current scope remains visible and allowing quick navigation by clicking the pinned line.
IDE Features Available During Indexing for Java and Kotlin
Code highlighting, completion, and other core IDE functions are usable while the project index is being built for both Java and Kotlin, improving startup experience. Users can also invoke Go to Class and Go to Symbol before indexing completes.
IDE UI Scaling
The IDE can be scaled to 90%, 80%, or 70% to adjust the size of UI elements to user preference.
Language Injection in String Templates
Developers can inject language fragments into string templates using annotations or the “Inject language or reference” intention (⌥Enter). The IDE suggests appropriate language annotations and allows editing injected fragments in a separate editor pane.
Improved Logging Workflow
Log messages in the console now link directly to the originating code. The IDE suggests adding missing logger instances and streamlines inserting logger statements even when the logger is out of scope.
Redesigned Conflicts Detected Dialog
The dialog now mirrors the editor’s content for clearer conflict resolution, remembers window size adjustments, offers full keyboard navigation, and includes updated buttons to simplify the refactoring workflow.
For more details, see the official release notes at https://www.jetbrains.com/zh-cn/idea/whatsnew/ and the download page at https://www.jetbrains.com/idea/download/.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java Tech Enthusiast
Sharing computer programming language knowledge, focusing on Java fundamentals, data structures, related tools, Spring Cloud, IntelliJ IDEA... Book giveaways, red‑packet rewards and other perks await!
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
