JetBrains has unveiled IntelliJ IDEA 2021.2, the latest version of its popular integrated development environment (IDE) tailored for JVM languages. Released on July 26, this update introduces significant improvements aimed at enhancing the development experience, particularly through project analysis and build system management features. Developers can now take advantage of these new capabilities to streamline their workflows and improve code quality.
One of the standout features of IntelliJ IDEA 2021.2 is the project-wide analysis tool, which provides real-time error checking across the entire project. This feature enables the IDE to scan every code change for potential issues before the code is compiled, allowing developers to catch problems early in the development cycle. However, it’s worth noting that this feature is exclusive to the IntelliJ IDEA Ultimate edition, limiting access for users of the free Community edition.
In addition to project-wide analysis, IntelliJ IDEA 2021.2 introduces a series of actions that are automatically triggered when a project is saved. These actions include tasks like reformatting code and optimizing imports, both of which help maintain code consistency and cleanliness. These options are easily configurable through the Preferences/Settings > Tools > Actions on Save menu, giving developers more control over how their project is maintained as they work.
Another key improvement in version 2021.2 is the enhanced management of Maven and Gradle dependencies. With the inclusion of the Package Search plug-in, developers can now quickly search for and identify version updates for dependencies, making it simpler to keep projects up to date and secure. This integration further solidifies IntelliJ IDEA as a comprehensive tool for developers working with Java and other JVM languages, enhancing both productivity and project maintenance.