IntelliJ IDEA 2022.2 Goes Beta
IntelliJ IDEA 2022.2 Beta is now available with the key improvements and changes that are expected in the upcoming major release.
In the blog posts tagged with IntelliJ IDEA 2022.2, you can read the details about the changes implemented over the course of this development cycle. Here’s a short summary of what you’ll find:
- Enhanced remote development experience.
- The switch from JBR11 to JBR17.
- Improved inspections and code completion for Java.
- Enhanced IntelliJ IDEA profile.
- Support for Spring 6 and Spring Boot 3 features.
- Ability to change the font size globally with a shortcut.
- Clickable URLs in JSON, YAML, and .properties string values.
- Run Current File functionality that allows you to run and debug single files without having a dedicated run configuration.
- Import of trusted SSL certificates.
- Improvements for the HTTP client.
- Experimental GraalVM Native Debugger for Java
- Improved support for bean validation annotations
- Support for Groovy-Integrated Query
- Kubernetes and Docker updates
This week we’ve also got a few Kotlin-related updates that haven’t been covered in our previous IntelliJ IDEA 2022.2 EAP blog posts.
The bundled Kotlin compiler is no longer used with the IntelliJ IDEA native builder
Previously, Kotlin projects were built with a bundled compiler when the build and run actions were not explicitly delegated to a build system. This was not quite an optimal solution, as it caused inconsistencies between local and CI builds due to the mismatch of the compiler versions. The local build used the bundled version of the compiler, while the CI build was run with the Kotlin compiler version defined in the project’s build file.
Starting from v.2022.2, both local and CI builds run with the version of the Kotlin compiler declared in project settings.
This change mostly affects users working with Maven-based projects, as the delegate build/run actions setting is switched off for these projects by default.
Our latest work to optimize indexes has positively impacted the IDE’s speed and performance for code highlighting, completion, and Find Usages.
Improved dataflow analysis for Kotlin
We’ve improved the dataflow analysis (DFA) functionality for Kotlin, implementing support for the @Range annotation and the constant conditions inspection.
Support for Kotlin 1.7.0 features
We’ve added support for the features introduced in Kotlin 1.7.0, the latest language version. The IDE now properly renders definitely non-nullable types and provides you with a helpful inspection for opt-in requirements.
For the full list of the updates and fixes introduced in this build, consult the release notes.
While we’re preparing the release candidate, you can help us polish the new functionality and make sure the final version works smoothly. Test out the new features, let us know what you think, and report any bugs you spot. You can submit your feedback via our issue tracker, on Twitter, or in the comments section below.