头图

The first major version of IDEA 2021 was released, and Java developers were moved and cried (with new highlight demonstration)

CodeSheep
中文

If a worker wants to do his job well, he must first sharpen his tools!

Not long ago, the development artifact IntelliJ IDEA Java field finally ushered in an important major version update in 2021: IntelliJ IDEA 2021.1 .

Nowadays, a large number of Java developers rely heavily on this development software, as the online paragraph puts it: "It is no exaggeration to say that how many Java programmers can't write code without IDEA (dog head)", thus It can be seen that it is widely used.

As soon as the new version comes out, I can't wait to try it out. Of course, I don't dare to upgrade the main development machine, so in the past two days, I updated a new IDEA on an old development notebook that I usually use for testing.

The moment the software launch interface opened, I knew that things were not simple.

This article GitHub https://github.com/rd2coding/Road2Coding has been included, and there are my self-study routes for the 6 major programming directions + detailed knowledge points combing + interview questions + resume + resources + supporting hard-core pdf, and me Life of a programmer.

Brand new start page

After the update, the brand new start page is even more bells and whistles.

The startup speed of the software is also very fast. As far as the rocket-like hand speed I have practiced for many years, I almost didn't intercept the startup page diagram below.


Space integration

I don’t know if you have heard of the Space function provided by JetBrains. To put it bluntly, it is an integrated team collaboration environment that can provide a complete set of collaboration integration including construction and delivery, chat collaboration, team management, and project management. solution.

The latest IDEA 2021.1 integrates the Space environment seamlessly, and it is now in an out-of-the-box state. There is a shortcut entry in the upper right corner of the software:


Support WSL 2

This feature is believed to be a joy to many users who rely on the Windows system and WSL features!

In the past, WSL was even easier to use, but your IDE did not get through with it, which is always a pity.

This is all right, the two are directly connected, IDEA supports WSL 2. You can directly run and develop Java projects in WSL 2 in the new version of IDEA 2021.1, including Gradle-type projects and Maven-type projects.


Run Targets

The meaning of Run Targets is a bit similar to WSL 2 just discussed above. It allows developers to run and debug projects directly on remote hosts or even on Docker containers.

So so far, the new version of IDEA 2021 allows developers to run projects on local, WSL 2, SSH remote hosts, Docker and other targets. It can be said to be a thief!


Support Java 16

This is also a relatively heavy update.

In the past two years, the release speed of the Java version has been as fast as an old dog. I am still using Java 8, and it has reached Java 16.

Regarding the new features of Java 16, I am also going to write an article to talk about it in detail, including for example:

  • Records feature turned positive
  • instanceof pattern matching to positive
  • jpackage turned positive
  • Unix domain socket channel
  • Flexible Metaspace
  • ZGC
  • Vector API
  • External link API
  • ...

This time, a very important update of IDEA 2021 is the addition of basic support for Java 16. Note that it is basic support.

In addition, IDEA has added several new inspection mechanisms, such as smarter data flow analysis and inspection.

Optimized format setting of chain structure, etc.

The purpose is to help improve readability and further enhance the user experience.


Code With Me

Code With Me is a service for collaborative development and pair programming. It can implement Host-Guest mode "hand touch" (funny) pair programming and group programming.

At present, the new version of IDEA supports Code With Me function out of the box, and it also has audio call and video call functions, which can meet the needs of communication anytime, anywhere. This operation is simply blatant.


version control

A lot of updates have been made to version control, including the ability to complete the creation and submission of PRs faster, and support for PR templates.

The custom code check configuration before the change is submitted to the code base.

And support custom Git submission templates and so on.


Other user experience improvements

IDEA built-in HTML web page preview

In the past, you had to jump to an external browser to preview web pages in IDEA, but now the IDE’s editor supports Built-in level web page previews. You only need to click the small IDEA icon in the upper right corner to activate it, and you can edit the source code of the web page. To synchronize updates and previews.

Windows version taskbar enhancement

On the new version of IDEA on the Windows platform, you can right-click on the taskbar (or start menu) to quickly call out recently used items.

Customize external dependencies when searching

To put it bluntly, it is to make the search scope easier to customize. We can directly define the scope in the settings and choose whether the scope of External Dependencies is included.

Window split optimization

When you split the vertical windows of multiple files in the editor, double-click a Tab to maximize the current file window, and double-click the Tab again to restore it.


Of course, in addition to these, the new version of IDEA also adds a lot of updates and enhancements, such as: development and optimization of languages such as Kotlin, Scala, JavaScript, optimization and support for common frameworks and technologies, and update support and improvements for Kubernetes and Docker. , Database tool update support, etc. Due to the limited time, I won't repeat them here. If you need it, you can study it in detail.

Finally, let us shout together: "IDEA, yyds!"


postscript

Recently, I have spent a lot of effort to organize the programming learning resources for my own use.

They are all pure liver products, the catalog is as follows, you can pick up if you need it.

The content on GitHub https://github.com/rd2coding/Road2Coding has been included, and there are also my 6 programming directions + knowledge points combing , My resume , , few hardcore pdf notes , and My programmer life , welcome star.

It is not easy to organize, and the white glance is not good, remember that three consecutive waves of support are wow.

阅读 2.4k

CodeSheep的技术分享
分享虚拟化、容器化、API化、微服务化的WEB技术,更多务实、能看懂、可复现的原创文章尽在作者公众号 Co...
3.3k 声望
7.6k 粉丝
0 条评论
3.3k 声望
7.6k 粉丝
文章目录
宣传栏