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 IntelliJ IDEA 2020.1

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "what are the new features of IntelliJ IDEA 2020.1". In daily operation, I believe many people have doubts about the new features of IntelliJ IDEA 2020.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 to answer the questions of "what are the new features of IntelliJ IDEA 2020.1?" Next, please follow the editor to study!

Support for Java 14

IntelliJ IDEA 2020.1 has added support for Java 14 and its new features. For example, support for Records, you can quickly create new record and generate their constructors and components, and warn of errors, as well as support for Pattern Matching for instanceof features.

▲ supports Records

Java code review

Each new version of IntelliJ IDEA extends its static code analysis capabilities, and this version is no exception. In addition to a series of improvements, 2020.1 also adds new code review capabilities. Examples include checking capitalization in SimpleDateFormat schema, analyzing use cases in date formatting, finding additional redundant method calls, and reporting and recommending the elimination of unnecessary escape characters in string literals.

Download JDK from IDE

Starting with IntelliJ IDEA 2020.1, you can download and configure JDK directly from IDE when you create and configure a project. If you open a downloaded project, IDE checks to see if the machine has installed the JDK configured for the project, and prompts you to download if it is missing.

LightEdit mode

LightEdit mode allows users to quickly modify stand-alone files in the window of a class text editor without creating or loading projects. You can open files in LightEdit mode through the command line, the welcome interface of IDE, or the file manager of the operating system. Use the "Open File in Project" intention (Alt+Enter) to switch from LightEdit mode to full mode.

The editor supports rendering of Javadocs documents

The editor adds the ability to render Javadocs documents

Zen mode (Zen mode)

Zen mode eliminates possible distractions and helps developers focus entirely on the code. In essence, this new mode combines do not Disturb mode and full screen mode, so you don't have to enable or disable them every time you want to enter or exit them. To enable Zen mode, jump to View | Appearance | Enter Zen Mode, or select (Ctrl+ `| View mode | Enter Zen Mode) from the Quick switching Scheme pop-up window.

Improve the navigation bar

In this version, users can jump to the lines of code they need to view in the file without having to scroll through the screen frequently. Because the navigation bar can display methods in Java classes and interfaces:

Data flow analysis assistance function

IntelliJ IDEA 2020.1 adds data flow Analysis Assistance (Dataflow analysis assistance) to the debugger, which predicts and displays possible exceptions and conditions that are always true / false based on the current state of program execution.

When we debug the Java code and reach the breakpoint, IDE runs the data flow analysis based on the current state of the program and shows us what happens next before the code executes to that breakpoint:

Install Git from IDE

In IntelliJ IDEA 2020.1, users no longer need to manually install Git in advance. When cloning a Git repository, IDE looks for the Git executable in the machine, and if it cannot find it, it downloads it and sets it up.

JetBrains Mono

A font launched by jetbrains a few months ago is now the default font for IntelliJ IDEA and a new font designed for coding.

Unified IntelliJ Light theme

IntelliJ IDEA 2020.1 adopts a new default Light theme and is unified across all different operating systems. You can roll back to the old topic via View | Quick Switch Scheme | Theme.

Support for Scala 3

IntelliJ IDEA 2020.1 provides initial support for Scala 3, including new syntax, error highlighting, navigation, type information, and many other basic IDE features.

At this point, the study on "what are the new features of IntelliJ IDEA 2020.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

Internet Technology

Wechat

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

12
Report