12
Like it first, then watch it, develop a good habit

IntelliJ IDEA 2021.1 EAP version has been released for a long time, and today, it finally waited for the official version to be released. The biggest update of this major version is to support WSL 2 and JAVA 16. In addition to supporting WSL 2, it also supports other forms of "ssh remote running", just like clion does; let your java program be developed locally and run remotely.

Come and see what's new in this major version in 2021!

WSL 2 support


says that Windows is the best distribution of Linux, but what's the point if your IDE does not support WSL operation?

Now IDEA finally supports WSL 2, so that we can develop on Windows, and run in WSL 2 environment, like JDK, build environment (maven/gradle) can be in WSL 2 system, it is really cool.

In the future, WSL 2 can be used for development, daily Windows, all development environments are all wsl, and the file system is also open, there is no reason to refuse!

For a detailed Windows 10 installation of WSL 2 tutorial, you can refer to Microsoft's official document, just follow the document step by step, very simple.
Windows Subsystem for Linux Installation Guide for Windows 10

Run goal


Run the target, this function is too fragrant. Our program can not only run locally, in WSL 2, on a remote SSH host, but also in Docker, one-click running in Docker.

And Docker's support for WSL 2 is also very good. We can also run Docker in WSL 2 and use the Docker management tool in Windows at the same time. It's so fragrant!

Built-in HTML previewer


In the HTML file, just click the IDEA icon in the upper right corner, you can use the built-in previewer to preview the webpage, and refresh it in real time, no longer need to open the browser to preview.

Search scope enhancement

when we search, we can also add external dependencies to the scope to complete a more comprehensive search. Set entrance at Preferences/Settings | Appearance & Behavior | Scopes

Taskbar enhancements for Windows version


In the taskbar, right click on IDEA and the most recent project will appear

Enhanced Pull Request support


Your PR submission operation only needs to be done in the Pull Request panel in the future, no more commands and web pages

Support Git submission template

Compare files with other branches

Now you can compare files with other branches in the _Compare with branch_ pop-up box

Split window optimization


After splitting the editor window vertically, double-click Tab to maximize the current window, double-click again to restore

JSON Path support



When you open the .json file in the future, you can use JSON Path to filter/convert/output

JAVA 16 support


IDEA 2021.1 version already supports JAVA 16

Smarter data inspection



IDEA will now prompt you some basic errors, such as the data length being a negative number, prompting you to unbox and pack, etc.

Light UML background support


For some students who like to use light themes, dark colors will no longer be necessary for UML diagrams in the future

Well, these are the main new features of IDEA 2021.1, as well as some Docker/JavaScript/K8s features. If you are interested, please refer to the official description: https://www.jetbrains.com/idea/whatsnew/

Originality is not easy, unauthorized reprinting is prohibited. If my article is helpful to you, please like/favorite/follow to encourage and support it ❤❤❤❤❤❤

空无
3.3k 声望4.3k 粉丝

坚持原创,专注分享 JAVA、网络、IO、JVM、GC 等技术干货