Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the new features of the latest version of IDEA2022.1

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces "what are the new features of the latest version of IDEA2022.1". In daily operation, I believe many people have doubts about the new functions of the latest version of IDEA2022.1. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the questions of "what are the new features of the latest version of IDEA2022.1?" Next, please follow the editor to study!

JavaJava 18 support

IntelliJ IDEA 2022.1 supports the new features of Java 18, which was released in March 2022. IDE now supports code snippets, pattern matching changes for switch expressions, and so on.

Java anti-compiler

The Java decompiler is now more compatible with Java 17. It supports modern language constructors such as sealed types and pattern matching, has better string decompilation switching functions, provides type annotations and can detect common constants.

Better JUnit 5 support

We have added support for new features introduced in JUnit 5.7, including support for @ EnabledIf/DisabledIf, @ NullSource/EmptySource, and @ TempDir annotations.

Updated Surround with try/catch (using try/catch surround) template

The updated Surround with try/catch (wrapped with try/catch) template now re-throws the exception wrapped in the RuntimeException rather than swallowing it.

Major updates to Dependency Analyzer

The newly introduced Dependency Analyzer provides a great deal of information about all the Maven and Gradle dependencies used in your projects and subprojects. It helps you detect and resolve conflicting dependencies, filter out the same dependencies and check if they exist in different libraries, and easily navigate between dependencies to correct the build configuration.

Enhanced the New Project (New Project) wizard

We redesigned the New Project wizard interface to simplify the process of creating a new project. You can quickly start an empty project; use preconfigured options for Java, Kotlin, Groovy, and JavaScript; or if you have a more complex project, you can use a generator.

New Notifications tool window

The Event Log (event log) instance is replaced by a new Notifications (notification) tool window. It can more clearly highlight important and practical suggestions and notifications and centralize them in a dedicated tool window.

Maven Archetype in the user experience New Project (New Project) wizard

The updated Maven Archetype project generator in the New Project wizard introduces the ability to search while entering while browsing Archetype, the ability to manage Archetype directories during module creation, and the ability to enter required attributes by Archetype.

Improved embedded hint

We have implemented improved Code Vision embedded hints to give you instant code insight directly in the editor. The metrics displayed include inheritors, usage, code authors, and related issues. Metrics are now all enabled by default and can be modified in the Inlay Hints (embedded prompt) setting. These settings have also been updated and a new configuration UI has been obtained.

Export the UML chart to another format

UML diagrams can be exported to yEd .graphml, JGraph .drawio, Graphviz .dot, Graphviz .dot, Mermaid .md, Plantuml, and IntelliJ IDEA .uml files with locations, making them compatible with third-party tools.

The editor runs commands from the Markdown file

If the Markdown file contains instructions for the commands that need to be executed, you can run those commands directly from the file using the run icon in the spacing.

Updated the Markdown editor floating toolbar

The redesigned floating toolbar of the Markdown editor will now provide list creation and a drop-down menu that allows you to select title styles. You can customize this toolbar with the options you want.

Copy code snippet (segment) of the Markdown file

With the new Copy code snippet (segment) in the Markdown block, you can easily copy the content to the clipboard with one click.

Debugger Reset Frame (reset frame)

In the Frames view of the Debugger tool window, we remove the Drop Frame operation from the toolbar and replace it with the inline Reset Frame icon.

Tab labels are hidden

To maximize the free space in the Debugger tool window, we hide the tab tabs by default. To make them visible again or to customize their location, use the Show Tab Labels (Show Tab labels) option in Layout Settings (layout Settings).

Docker's new Services view UI

For IntelliJ IDEA 2022.1, we redid Docker UI in the Services tool window. Redo has overwritten containers, mirrors, networks, and volumes.

Support for Docker Compose goals

Support for Docker Compose goals is now available. For example, to run a Spring Boot application on a Compose target, go to the running configuration, create a Compose target through Manage targets (administrative target), and then run the application.

Docker Registry V2 support

We have added support for Docker Registry HTTP API V2 with Docker 1.6 +. You can create a simple or password-protected Docker V2 registry and perform general operations such as viewing, pushing, and pulling images.

Web develops better Next.js support

Thanks to the built-in support for React, all key functions should already work in the Next.js project. IntelliJ IDEA 2022.1 adds support for frame-specific objects such as pages. IDE parses the href attribute of the Link component as well as the paths used in form and other tags. Code completion, navigation, and refactoring will also work.

Support for Volta

In this release, we have added integration with the JavaScript tool manager Volta. IntelliJ IDEA 2022.1 will automatically recognize Yarn and npm installed using Volta.

At this point, the study on "what are the new features of the latest version of IDEA2022.1" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report