IntelliJ IDEA 2025.2
Released: Aug 5, 2025
Updates in 2025.2
Features
- Improved AI experience with more control and better context management - Better performance and new capabilities for Junie and AI Assistant:
- AI Assistant finally delivers AI-powered code completion for SQL, YAML, JSON, and Markdown.
- AI-powered code completion now suggests code blocks for Java in offline mode and lets you choose your preferred local code completion model. Enjoy smart suggestions anywhere, be it on a plane, off the grid, or in a closed enterprise environment.
- Junie is now up to 30% faster and works in remote environments.
- The new Project Rules file lets you define project-specific instructions, for example regarding coding style or framework constraints, to guide AI responses.
- Select AUTO in the model dropdown menu to delegate the choice to IntelliJ IDEA in order to achieve the best generation quality and optimized cost.
- New ways to provide more precise context to the AI:
- Attach specific tables or views to the AI chat to get much more accurate AI assistance that reflects the actual state of your data structures. This is especially useful in complex, enterprise-scale projects.
- Attach images in the AI chat to share errors and diagrams without retyping. This feature is currently supported with Anthropic and OpenAI models and will be enabled for others soon.
- Add folders to the chat context to improve multi-file context for AI conversations.
- Support for the MCP in Junie and IntelliJ IDEA 2025.2:
- Junie now supports the Model Context Protocol (MCP), enabling deeper context awareness and smarter task execution by connecting external tools.
- IntelliJ IDEA can now act as an MCP server for third-party AI agents. The IDE detects a client on your machine and delivers over 30 built-in tools to enhance AI workflows in a single click.
- Java 25 support for early adopters - Be among the first to adopt the newest tech with IntelliJ IDEA's support for both final and preview features of Java 25 - the next long-term support (LTS) release.
- Spring Debugger - Spring Debugger fundamentally improves how developers understand and troubleshoot Spring applications. It integrates real-time runtime insights directly into the IDE. See which beans are loaded or mocked, inspect resolved configuration values with source tracking, and monitor active database connections and transaction states. You can evaluate bean definitions live and trace property values, even when sourced from environment variables or profile-specific configs.
- Spring Modulith - With the 2025.2 version, IntelliJ IDEA Ultimate offers robust support for it, built in collaboration with the Spring Modulith team. New checks, fixes, and suggestions help manage module dependencies and enforce clean domain boundaries. A warning icon in the code completion popup flags beans from other modules, while a new Logical view lets you explore your Modulith structure at a glance. This makes it easier to follow DDD principles and build modular, event-driven Spring Boot apps right inside your IDE.
- Maven 4 support for early adopters - Maven 4 has been in development for some time, but it is getting close to the general availability release. IntelliJ IDEA already allows you to work with Maven 4 projects, so once the stable version arrives, you can switch to it seamlessly. Meanwhile, you can try Maven 4 in your project using one of the latest release candidates, with all the key features you expect: reliable project sync, accurate outputs, full navigation, syntax support for the new modelVersion, and more.
- Virtual thread debugging - Virtual threads, introduced in JDK 21 and improved in JDK 24, are a major step forward for Java concurrency. Yet supporting them was an engineering challenge for the tooling developers. IntelliJ IDEA 2025.2 brings important updates for the debugger and thread dump viewer to close that gap. You can now collect and inspect virtual threads in thread dumps, even when the app is paused or at a breakpoint. The IDE shows what object each virtual thread is locked on, helping you diagnose bottlenecks. To avoid flooding the view, threads with identical stack traces are automatically grouped, making large dumps easier to navigate. You can also load thread dumps from tools like jstack and jcmd, giving you more ways to analyze performance issues in highly concurrent apps.
- Scala support - IntelliJ IDEA 2025.2 introduces full support for Scala 3 opaque types and new generic tuple operations. Opaque types now integrate properly with givens, extension methods, and alias bounds, with improved inference in complex scenarios. Tuple operations like zip, concat, and others are now recognized and supported in completion and type resolution. The new sbt module layout is now out of Beta and is enabled by default, reflecting sbt main/test scope-specific settings more accurately in the IDE. In addition, project sync now automatically generates sbt-managed source files, reducing red code caused by missing sources and improving the experience with popular sbt plugins.
- Improved database workflows - IntelliJ IDEA 2025.2 has introduced a major improvement for working with data. Previously, editing data in the results grid was limited to simple SELECT queries. Now, even SELECT statements with JOIN clauses can be edited directly, making it much easier to update related data without writing manual UPDATE statements.
- Web development updates - Recent updates enhance web development workflows with better code assistance, smarter documentation, and smoother tool integration. Experimental support for the new TypeScript-Go language server is now available, offering faster and more accurate assistance for TypeScript projects.
- Quick documentation includes Web Platform Baseline data, making it easy to check browser support for web APIs without leaving the editor. Bun is also detected automatically and fully configured - from running scripts to installing packages - allowing projects to start with minimal setup.
- JSpecify support - JSpecify offers a unified, library-based standard for nullability annotations, aiming to bring consistency across libraries, tools, and the language itself. To support the adoption of JSpecify, IntelliJ IDEA now treats its annotations as first-class citizens, on par with JetBrains annotations. Thanks to static analysis capabilities, IntelliJ IDEA can detect nullability issues even in complex scenarios involving generics and collections. In addition, Kotlin also respects these annotations when analyzing Java code, improving cross-language null safety.
- Native Bazel support - IntelliJ IDEA 2025.2 introduces native support through the official JetBrains Bazel plugin, now generally available. Bazel becomes a first-class citizen in IntelliJ IDEA, with deep integration for Java, Kotlin, Scala, Python, and Go. You get accurate target-to-module mapping, high performance, and a clear UX, on all operating systems.