IntelliJ IDEA 2020.1 EAP7: Improvements for Git, New Java Inspections
IntelliJ IDEA 2020.1 EAP was updated today. This post explains some of the recently added changes and different minor improvements.
Commit tool window & Commit dialog
Many of you have given us feedback about the Commit tool window since we enabled it by default for all users in v2020.1 EAP. Taking into account all the different opinions about the commit functionality, both inside and outside JetBrains, we’ve changed its behavior. Here’s how.
The Commit dialog is enabled by default again, as it was in v2019.3 and earlier. The commit features look exactly like they used to before v2020.1. This way, we don’t break the fashion in which millions of IntelliJ IDEA users are accustomed to committing things.
If you do prefer the Commit tool window, you can re-enable it by going to Preferences / Settings | Version Control | Commit Dialog and then selecting Commit from local changes without showing the Commit dialog (see the screenshot below). In the future, we will promote the new UI in the Commit dialog to allow in-place switching.
With that said, it’s worth mentioning that starting with v2020.1, all new users will still get the Commit tool window as the default way of committing changes. This means that if you start IntelliJ IDEA on a clean machine without using any configs from previous builds, you will see the Commit tool window by default. You can, of course, get back to the modal Commit dialog by unchecking the Commit from Local Changes without showing the Commit dialog option, which was mentioned earlier. See the image above.
Install Git from the IDE
Starting with v2020.1, you will no longer need to download Git manually if you don’t have it on your machine. For instance, when you choose to import a project from version control from the Welcome wizard, the IDE will not only look for Git on your machine, but it will also offer to download and set it up for you in the background:
Similarly, when you have a project that uses Git and the IDE cannot find the path to the Git executable, it will show you a notification and offer to download and install Git for you:
However, you will probably want to check your path to Git before downloading it once again. Remember that you can always do this, and you can configure other Git settings in Preferences / Settings | Version Control | Git.
New Java inspections
In v2020.1 EAP, we’ve added a number of Java inspections. For instance, the IDE now checks capitalization in SimpleDateFormat patterns, where it’s easy to make a mistake, and suggests a quick-fix:
Similarly, the IDE analyzes other date formatting cases, such as `HH:MM`, `mm:SS`, and `MM/DD`.
Here is the list of all the new and updated inspections for Java in v2020.1.
Auto-import of settings
Note that the path to the IDE’s config files has changed with v2020.1:
- Config files location for IntelliJ IDEA 2020.1 and later
- Config files location for IntelliJ IDEA 2019.3 and earlier
That’s it for today, but we will have more to tell you about in the next few v2020.1 EAP builds. Stay tuned!
Check out the release notes for the other closed tickets in this EAP build.
Subscribe to Blog updates
IntelliJ IDEA 2024.1 EAP 6: Improved Workflow for Logs, Inline Breakpoints, In-Editor Code Review, and MoreEarly Access Program
IntelliJ IDEA 2024.1 EAP 6 is here! This new build is packed with a bunch of updates anticipated for the next major release. Highlights include an enhanced user experience with logs, advanced debugging capabilities, and improved integration with version control systems. You can download the new v…
IntelliJ IDEA 2024.1 EAP 5: Enhanced Support for GitHub Actions, Updates for the HTTP Client, and MoreEarly Access Program
Packed with numerous new features and enhancements, IntelliJ IDEA 2024.1 EAP 5 brings extended support for GitHub Actions, improved integration with popular frameworks such as Spring and Quarkus, updates to the HTTP Client, and much more.
IntelliJ IDEA 2024.1 EAP 4: Sticky Lines, Improved Startup Experience, and MoreEarly Access Program
The Early Access Program for IntelliJ IDEA 2024.1 continues with our latest build where you can preview new features, including convenient sticky lines in the editor, faster access to IDE functionality while indexing, and more. You can download the new version from our website, update directly fr…
IntelliJ IDEA 2024.1 EAP 3: Tool Window Names in the New UI, Language Injections in String Templates, And MoreEarly Access Program
IntelliJ IDEA 2024.1 EAP 3 is now available. This latest update focuses on enhancing your interactions with the IDE’s interface, introduces language injections for Java string templates, and significantly accelerates the startup process for Maven projects. You can download the new version from ou…