IntelliJ IDEA 2022.1.x

Released: Apr 12, 2022

Updates in 2022.1.x

2022.1.4

Updated Jul 19, 2022

Fixes

  • Fixed the issue causing text flickers in the Commit details pane.
  • Fixed the issue with local module recognition in the Terraform plugin.
  • Fixed the Run Git hooks checkbox in the Before Commit section of the Commit tool window.
  • Changing the .iml file no longer removes associated Git mapping.
  • Fixed the issue causing the external diff tools for directories to malfunction.
  • Fixed the bug causing IntelliJ IDEA to crash on macOS High Sierra.
  • Fixed the issue causing the IDE to freeze on startup.

2022.1.3

Updated Jun 22, 2022

Fixes

  • Fixed the issues that appeared when running Gradle projects with coverage.
  • Cmd+Click / Ctrl+Click in the Git Log panel has been fixed and now works as expected.
  • The New Project button on the Welcome screen now works as intended again.
  • Fixed the issue that prevented the generation of a WSDL from a Java class.
  • Resolved the UI issue with a truncated VCS in-editor menu.

2022.1.2

Updated Jun 1, 2022

Fixes

  • Fixed the issue causing the console to skip user input.
  • Search Everywhere works as expected when the terminal is in focus.
  • The IDE no longer erroneously returns an Invalid value: -1 message when executing Gradle tasks.
  • Fixed the icon sizing when the “Legacy icon pack” is used.
  • Fixed the issue causing the source to be opened instead of a diff when double-clicking in the Commit tool window.
  • No “null” text is inserted when Enter is pressed when working with Markdown files and keeping multiple projects open.
  • The Documentation tool window has been fixed and now works as expected.
  • Data is no longer lost from application-level dictionaries.
  • The Build Output window works as expected when compiling WSL-based projects.
  • Fixed the inspection ‘ConfigurableApplicationContext’ used without ‘try’-with-resources statement.

2022.1.1

Updated May 11, 2022

Fixes

  • JAX-WS actions are again available from the Tools menu.
  • The missing Swagger UI preview has been fixed.
  • Fixed the issue causing prolonged indexing and UI freezes for projects with many artifacts.
  • Fixed the issue with Sort tabs alphabetically being disabled when dragging and dropping tabs to a different editor window.
  • Fixed the issue causing high memory usage and a decline in performance when working with large JSON files.
  • Fixed the issue causing the loss of items in the Configured servers list in Settings / Preferences | Tools | Tasks | Servers.
  • Fixed the issue causing the project location to erroneously be reported as already taken, which was disrupting the creation of new Spring modules.
  • When switching between light and dark themes, the background color of the Find action text field now changes accordingly.
  • Fixed the issue with the Group by action in the Commit dialog so that the previously used settings are retained.
  • Fixed the issue that occurred when running JUnit5 unit tests in projects that use JDK 8.
  • Fixed the issue with Maven project importing when invoked from the Project Structure dialog.

2022.1

Updated Apr 12, 2022

Features

  • Key updates
    • Dependency Analyzer - The newly introduced Dependency Analyzer provides extensive information regarding all Maven and Gradle dependencies used in your projects and subprojects. It helps you detect and resolve conflicting dependencies, filter out identical dependencies and check if they are present in different libraries, and easily navigate across dependencies to correct build configurations.
    • Enhanced New Project wizard - The New Project wizard interface has been reworked to streamline creating new projects. You can quickly launch an empty project; use the pre-configured options for Java, Kotlin, Groovy, and JavaScript; or use generators if you have projects that are more complex.
    • New Notifications tool window - The Event Log instance has been replaced with a new Notifications tool window. It highlights important and helpful suggestions and notifications more clearly, and keeps them organized in a dedicated tool window.
  • User Experience
    • Maven Archetype in the New Project wizard - The updated Maven Archetype project generator in the New Project wizard introduces search-as-you-type functionality when browsing archetypes, the ability to manage an archetype catalog during module creation, and the ability to input required properties by archetype.
    • Improved inlay hints - Added improved Code Vision inlay hints that provide you with instant insights about your code right in the editor. The list of displayed metrics now includes inheritors, usages, code authors, and related problems. The metrics are all enabled by default now and can be modified in Inlay Hints settings.
    • Evenly split tabs - You can now evenly distribute the working space among editor tabs so that they are all the same width.
    • Export UML diagrams to other formats - It is now possible to export UML diagrams as yEd .graphml, JGraph .drawio, Graphviz .dot, Graphviz .dot with positions, Mermaid .md, Plantuml, and IntelliJ IDEA .uml files, which makes them compatible with third-party tools.
    • New Structural Search and Replace dialog - The Structural Search and Replace dialog now features a list of all the templates to make it easier to navigate between them.
  • Security
    • Package Checker plugin - IntelliJ IDEA can now detect vulnerabilities in Maven and Gradle dependencies used in your projects by checking across the Checkmarx SCA Database and the National Vulnerability Database.
  • Editor
    • Run commands from Markdown files - When working with Markdown files that contain instructions with commands to execute, you can now run those commands directly from the file using the run icons in the gutter.
    • Copy code snippet for Markdown files - With the new Copy code snippet in Markdown blocks, you can now effortlessly copy content to the clipboard with a single click.
    • Updated Markdown Editor Floating Toolbar - The redesigned Markdown Editor Floating Toolbar now offers list creation functionality and a dropdown menu that allows you to select header styles.
    • Code reformatting in LightEdit - Enhanced LightEdit mode so that you can do even more without creating or opening a dedicated project and you can also perform code reformatting in projectless mode.
    • New Incorrect formatting inspection - Added incorrect formatting inspection, which notifies you when the current formatting of a file does not match the code style settings.
    • Formatting improvement - For formatting consistency in the code, the 'Add a space at line comment start' option has been augmented with an 'Enforce on reformat' checkbox that is enabled automatically. Available by default for Java, Kotlin, and Groovy.
    • Dry run mode support in the command-line formatter - The command-line formatter supports a dry run mode to validate project files. If a file needs formatting, it will exit with a non-zero status.
  • Java
    • Java 18 support - Added support for the new features from Java 18, the IDE now supports code snippets, the changes to pattern matching for switch expressions, and more.
    • Java decompiler - The Java decompiler is now more compatible with the Java 17 release. It supports modern language constructors, such as sealed types and pattern matching, features better switch over string decompilation, provides type annotations, and detects common constants.
    • Better JUnit 5 support - Added support for the new features introduced in JUnit 5.7, including support for the @EnabledIf/DisabledIf, @NullSource/EmptySource, and @TempDir annotations.
    • Updated Surround with try/catch template - The updated 'Surround with try/catch' template now re-throws an exception wrapped into a RuntimeException instead of swallowing it.
  • Kotlin
    • Kotlin 1.6.20 support - Added support for Kotlin 1.6.20, so the latest language features, such as support for parallel compilation, a prototype of context receivers, and better code sharing across all Kotlin targets, are now available in the IDE.
    • Improved IDE Performance for Kotlin - Optimized package indexes which significantly increased the IDE speed when performing code completion, highlighting, and operations related to reference search.
    • Debugger improvements - Introduced some useful improvements and updates for the 'Smart Step Into' functionality while debugging Kotlin projects.
    • Kover plugin integration - To ensure better Kotlin code coverage, the Kover plugin has been integrated with IntelliJ IDEA.
  • Groovy
    • Postfix templates support for Groovy - Code completion for Groovy now supports most of the Java-like postfix templates such as arg, cast, for, iter, nn, notnull, null, not, throw, try, var, par, sout, serr, while, new, reqnonnull, and return.
  • Frameworks and Technologies
    • Go microservices support - Added support for Go microservices, providing features like URL path references, endpoints, Search Everywhere, and gutter icons. The features are available after installing the Go plugin, and they currently work only with standard library functions.
    • Code insight improvements for Spring Data Mongo - When working with Spring Data MongoDB, IntelliJ IDEA now highlights JSON queries, completes operators and document fields, and provides navigation to the Database tool window from mapped entities.
    • Better support for .proto files - There’s a new intention action for .proto files which adds missing import statements for unresolved message references. After adding the missing import statements, the IDE provides completion suggestions for message references.
    • gRPC reflection support - Added the ability to run requests and get completion for service and method names directly from a running server instance.
    • Improved Thymeleaf support - Improved support for Thymeleaf, including fewer false-positive inspections, enhanced IDE performance when editing Thymeleaf templates, and fine-tuned inspection and highlighting levels so that you get the correct notifications.
    • Completion in Helidon config files - Improved support for the Helidon framework. The IDE now provides config key completion in properties files and .yaml files, and it supports the Go to Declaration and Quick Doc actions.
  • Build tools
    • Updated progress bar for Gradle - Added a progress bar for Gradle processes like downloading dependencies and importing artifacts. Track exactly what is happening with the files and estimate when the process will be complete.
    • Support for separate test modules in the Maven compiler plugin - Added experimental functionality to the Maven compiler plugin. Set specific language levels separately for production and test sources.
  • VCS (Version Control)
    • Code Author information provided via inlay hints - Updated the Code Vision functionality so that IntelliJ IDEA can now instantly provide you with information about code authorship based on the VCS history.
    • Updated Annotate with Git Blame - Improved the functionality of Annotate with Git Blame to make investigating introduced changes easier.
    • Updated Commit Details in Git tool window - The Commit Details now includes information about GPG signatures and the build status.
    • Git File History: new UI without index - The new UI for the Git File History tool window is now independent from the indexing process.
    • Suggested changes in Pull Request comments - It’s now easier to work with suggested changes in IntelliJ IDEA, as you can now apply or commit changes locally in the IDE.
    • Define external diff and merge tools by file media type - This release allows you to specify different external diff and merge tools based on the file type.
  • Profiler
    • Single profiler configuration based on Async Profiler - The new profiler configuration, IntelliJ Profiler, has been added, it combines the power of the Async Profiler and the Java Flight Recorder.
  • Debugger
    • Reset Frame - In the Frames view of the Debugger tool window, the Drop Frame action has been removed from the toolbar and instead it is now available with an inline Reset Frame icon.
    • Hidden tab labels - To maximize the usable space in the Debugger tool window, the tab labels are now hidden by default.
  • QA tools
    • Page Object Editor improvements - The Selenium UI Testing plugin got a huge improvement for its Page Object Editor. The workflow has been optimized and the UI has been redesigned to ensure that fewer distracting elements appear.
    • New Page Object wizard - The new Page Object wizard allows you to choose the language and test automation framework when creating a new page object class. The wizard is also available at all points in your code where you have a Selenium library dependency.
  • Kubernetes
    • Edit resources on the cluster - Modifying resources loaded from the cluster can now be done from the editor tab.
    • Custom path to kubectl - You can now manually configure a path to kubectl if it is not in the standard location.
    • Port forwarding action in the Services view - Port forwarding functionality for pods is now available.
    • Describe Resource action in the Services view - There is a new Describe Resource action for all resources in the Services view. You can call it from the context menu or use the toolbar button.
    • Support Events in a cluster - Cluster events are now displayed in a separate node in the Services view, providing data about recent events in the system.
    • Werf support - Introduced limited editor support for werf.yaml and related Helm template files, including code completion functionality, inspections, quick-fix suggestions, refactoring / renaming for .Values.werf.image.*, and validation of some fields like boolean and int.
    • Import child values support for Helm - Added support for importing child values via the import-values settings affecting the completion/navigation of built-in objects in templates.
  • Docker
    • New Services view UI - Docker’s UI in the Services tool window has been reworked. The makeover has been implemented for containers, images, networks, and volumes.
    • Support for Docker Compose targets - Support for Docker Compose targets is now available.
    • Docker Registry V2 support - Added support for Docker Registry HTTP API V2 to use with Docker 1.6+. You can create simple or password-protected Docker V2 registries and perform all of the usual actions like viewing, pushing, and pulling images.
  • Remote Development
    • More settings for remote servers - Remote development now features a Backend Control Center widget, which shows CPU load, memory, disk capacity, and other parameters you may need to monitor the backend status. A new security setting now lets you use SSH key forwarding to authenticate access to git-repositories from your remote machine.
    • Local thin client adds new features - JetBrains Client now supports more file editors, so you can work not only with text-based files but also with PNG images, UML diagrams, Jupyter Notebook files, and Android layout resources.
  • Database tools
    • Copy multiple objects - You can now select multiple tables and copy them to another schema. The IDE supports cross-DBMS export, which means the target schema can belong to any database from your project.
    • MongoDB: Editing fields in results - You can now edit the results in MongoDB collections just as easily as in relational databases.
    • Canceling running statements - The logic for canceling running statements has been updated. It’s now clearer that the request is being canceled, and data sources are no longer deactivated without a warning.
    • Canceling connections without deactivating the data source - You can now stop the process of creating a connection without deactivating the data source.
  • Web development
    • Better Next.js support - Thanks to the built-in support for React, all of the key features should have already been working in your Next.js projects. This release adds support for some framework-specific things, such as pages. The IDE will resolve paths used in the href property of your Link components, as well as in forms and other tags. Code completion, navigation, and refactorings will work as well.
    • Support for Volta - Added proper integration with Volta, a JavaScript tool manager. IntelliJ IDEA will now automatically recognize Yarn and npm installed using Volta.
  • Scala
    • Scala 3 support improvements - It is now possible to autocomplete extension methods. The editor also offers to import extension methods and given instances automatically. Performance of the .tasty reader has been improved, so indexing Scala 3 libraries is now up to twice as fast.
    • New Scala project wizard - Improved and updated New Project wizard, allows you to select a project JDK, desired build system, and Scala version in a single step.
    • Alias exports - Most things in Scala are aliases. To improve the user experience, the editor now treats aliases in the standard library as transparent exports, so that, for example, List implies scala.collection.immutable.List rather than scala.List.
    • Unused declaration inspection - Previously, the detection of unused declarations was limited to private bindings. Now the Unused declaration inspection supports public bindings introduced by classes, methods, variables, parameters, and so on.
    • Scala debugger upgrades - Improved the Scala debugger. The handling of objects, primary constructor parameters, value classes, Arrays, lazy vals, and collections has been updgraded, as well as improving expression evaluation.
  • Space integration
    • Code review comments: Post Now or Save as Draft - When reviewing code changes in the IDE, you can now choose when to post a code review comment.
      • Post Now immediately posts the comment in the code review and notifies the author and other code review participants immediately.
      • Save as Draft batches all comments, and sends them in one go when you approve changes or wait for a response.
    • Keyboard shortcuts for code review - The code review user interface has been improved by showing applicable keyboard shortcuts.

Fixes

  • Kotlin
    • Addressed a number of issues with breakpoints.