Author: Director

Original text: oschina.net/news/114775/intellij-idea-2020-1-released

preface

IntelliJ IDEA 2020.1 Stable edition is coming! The first major update of the year, the new version adds Support for Java 14, new features for some Web and testing frameworks, Dataflow Analysis Assistance for the debugger, LightEdit mode, And support for downloading and configuring the JDK from the IDE.

Download address, https://www.jetbrains.com/idea/download, can also use the Toolbox App updates.

Support Java 14

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

Details see: https://blog.jetbrains.com/idea/2020/03/java-14-and-intellij-idea/

Bring support Records

▲ Pattern Matching for instanceof

Java Code Review

Every new release of IntelliJ IDEA extends its static code analysis capabilities, and this release is certainly no exception. In addition to a number of improvements, 2020.1 also adds new code checking capabilities.

Examples include checking uppercase in SimpleDateFormat schema, analyzing use cases in date formatting, looking for extra redundant method calls, and reporting and recommending eliminating unnecessary escape characters in string literals.

Download the JDK from the IDE

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

LightEdit mode

LightEdit mode allows users to quickly modify individual files in a text-like editor window without creating or loading a project. You can open files using LightEdit mode from the command line, the IDE’s welcome interface, or the operating system’s file manager. Switch from LightEdit mode to full mode using the “Open File in Project” intent (Alt+Enter).

The editor supports rendering Javadocs documents

Editor added the ability to render Javadocs documents



Zen Mode

Zen mode eliminates possible distractions and helps developers fully focus on the code. Essentially, this new mode combines do not Disturb mode and full-screen mode, so you don’t have to enable or disable both modes every time you want to enter or exit them. To enable the Zen Mode, please jump to View | Appearance | Enter Zen Mode, or from the “fast switching scheme” in the pop-up window to choose (Ctrl + ` | View Mode | Enter Zen Mode).

Improved navigation bar

In this version, users can jump to lines of code they want to see in a file without scrolling frequently. Because the navigation bar can display methods in Java classes and interfaces:



Data flow analysis assistance function

IntelliJ IDEA 2020.1 adds Dataflow Analysis Assistance to the debugger, which predicts and displays possible exceptions and always true/false conditions based on the current state of program execution.

When we debug the Java code and reach the breakpoint, the 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 the breakpoint:

A full description of this feature can be found here.

Install Git from your IDE

In IntelliJ IDEA 2020.1, you no longer need to manually install Git beforehand. When you clone a Git repository, the IDE looks for the Git executable on the machine, and if it doesn’t find it, it offers to download it and set it up.

JetBrains Mono

IntelliJ IDEA default font, is also a new font designed for encoding.

Unified IntelliJ Light theme

IntelliJ IDEA 2020.1 adopted the new default Light theme and was unified across all the different operating systems. Through the View | Quick Switch Scheme | Theme roll back to the old Theme.

Support 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.



The above mentioned new function can be used in the community edition, update content to view in detail: https://www.jetbrains.com/idea/whatsnew/

The last

Welcome to pay attention to the public number: programmers chasing the wind, receive a line of large factory Java interview questions summary + each knowledge point learning thinking guide + a 300 page PDF document Java core knowledge points summary!

These are some of the things that the interviewer should ask during the interview. These include basics, Java collections, JVMS, multi-threaded concurrency, Spring principles, microservices, Netty and RPC, Kafka, diaries, design patterns, Java algorithms, databases, Zookeeper, distributed caching, data structures, and more.