Hello everyone, I am your code farmer elder brother – stack leader.
The IDEA of 2021.2
It’s been three months since IntelliJ IDEA 2021.1 was released, and now IDEA 2021.2 is here:
Old rules, update, read the arrangement!
After the update, view the IDEA version:
Oh, my god. A completely different UI..
Try restarting to see if there is a startup page, a little surprise, the startup page is also missing, open the project dialog box:
The e opening page and startup page of IDEA menu were the same before, but now it is completely different.
The stack manager noticed that there is a launch page on the official release blog:
Blog.jetbrains.com/idea/2021/0…
I use Mac, maybe IDEA has changed to Mac, I don’t know whether Windows still has a startup page, Windows friends can update and verify.
IDEA 2021.2 Core functions
1. Java project level analysis
IDEA 2021.2 adds project-level analysis for Java projects that can be used to track errors throughout the project before compilation.
Open the Problems TAB, which by default displays all Problems with the current file:
Problems are also updated in real time after the current file is modified.
If you want to enable project-level analysis to show all problems in your project, you can enable it by clicking on the dedicated icon in the upper left corner:
Alternatively, you can manually scan the entire project, or specify a range of files:
IDEA this is to prepare to kill FindBugs,Ali Java code check plug-inAnd the rhythm of related tools?
In addition, the latest ali “Java development manual” can pay attention to the public number: Java technology stack, in the background reply: manual.
2, save action
In previous versions, you could only configure automatic formatting, optimized import, and other Settings when submitting code:
IDEA to add a lot of in the preservation of 2021.2 when you are able to operate the action, including reformat code, optimization of import, clear code, etc., these Actions are integrated in the Preferences/Settings | Tools | Actions on the Save menu:
You can select and configure them according to your own needs.
With the new save action, there is no need to manually format and optimize imports as often as possible…
Maven/ Gradle new dependency management
IDEA 2021.2 adds a new Package Search plugin for Maven and Gradle projects that makes it easy to find, add new dependencies, and manage existing ones.
Package Search plug-in after installation:
Dependent upgrades, version numbers, scope Settings, etc. :
Add a new dependency:
In addition, more useful IDEA plug-in, stack length has been sorted, wechat follow public number: Java technology stack, in the background reply: IDEA, you can read, help you work efficiency.
It can also be searched on the IDEA Web page:
package-search.jetbrains.com/
That’s awesome. That’s one more way to rely on search.
Now, the dependency management can be directly carried out in IDEA, no need to switch to the Web side query, too show.
conclusion
Today, stack manager introduced 3 core functions of IDEA 2021.2, which is really too strong, too convenient.
In addition to Java project analysis, save-time actions, dependency management, and collaboration, video conferencing added in IntelliJ IDEA 2021.1, IDEA is now trying to get developers to do as much development as possible in one tool. In addition to getting smarter, It also makes development more focused and efficient.
Finally, if you say that IDEA is charged, it is also available in the open source community version. The professional version is also easy to apply for the activation code. IDEA, you can read the tutorial I shared to obtain the legitimate IDEA activation code, many fans feedback that it is easy to get, interested can go to apply, not too easy.
Pay attention to me, behind stack long will continue to share IDEA series tutorial, take you through the IDEA of ren Du two veins!
Copyright notice: this article is the public account “Java technology stack “original, original is not easy, reprint, quote the content of this article please indicate the source, prohibit plagiarism, washing, please respect your work and intellectual property rights, plagiarism will be prosecuted.
Recent hot articles recommended:
1.1,000+ Java Interview Questions and Answers (2021)
2. I finally got the IntelliJ IDEA activation code thanks to the open source project. How sweet!
3. Ali Mock is officially open source, killing all Mock tools on the market!
4.Spring Cloud 2020.0.0 is officially released, a new and disruptive version!
5. “Java Development Manual (Songshan version)” the latest release, quick download!
Feel good, don’t forget to click on + forward oh!