Idea logo

The IntelliJ IDEA Blog

The Capable & Ergonomic Java IDE by JetBrains

Early Access Program

IntelliJ IDEA 2019.2 EAP5: Commit from Local Changes and more

IntelliJ IDEA 2019.2 EAP build comes with a new pack of the cool features. Download it and try them out!

Commit from the Local Changes

Why follow tradition? The upcoming IntelliJ IDEA 2019.2 will let you commit directly from the Local Changes, there is no longer any need to go through a separate Commit dialog.

Now while working on a commit, you will be able to browse through the source code, view the history for a specific file, view the diff for the file in the same area as the commit, or use the other features of the IDE. Previously all these actions were impossible because the modal commit dialog blocked all the other IDE functionality.

In the upcoming IntelliJ IDEA 2019.2, we have added a new feature for projects that use Git or Mercurial as their version control system. Now when you press the Commit shortcut (Ctrl-K on Windows, Linux/Cmd-K on macOS) the IDE will select the modified files for the commit and focus on the Commit message field in Local Changes tab of Version Control tool window. You will be able to review the selected files, and change the file or code chunk.



The Amend Commit action will be available from the Commit toolbar. Alternatively, you will be able to amend a commit using the new shortcut Alt+M on Windows and Linux, Ctrl+Alt+M for macOS. More commit options will be available under the settings icon on the Commit toolbar and can be invoked on demand.

When there is a history of commit messages, as before you will be able to use the Ctrl+M shortcut (Windows, Linux, macOS) to view it, or you can click on the “Commit Message History” icon in the bottom left corner.

This is a long-awaited feature, but it also affects the current workflow, and if you would like to return back to the original Commit dialog, you can uncheck the “Commit from the Local Changes without showing a dialog” checkbox in Preferences / Settings | Version Control | Commit Dialog.

Better Kotlin JPA support

The upcoming IntelliJ IDEA 2019.2, will come with better JPA support for Kotlin, the IDE will provide you with code completion, error highlighting, and icons on the gutters for navigation.

It will also be possible to generate Kotlin entity classes; simply select the provided script in Scripted Extensions | Generate Kotlin Entities of the context menu of the DataBase tool window. The script itself is easily customizable, you just need to change the code line to add annotations to fields or methods, etc. Go to the Scripts Directory and experiment with the script by modifying it to fit a specific task.


Furthermore, references to various elements in your database will be also injected into Kotlin code. The IDE will navigate you to the corresponding column or table with the “Go to Declaration” action (cmd+B on macOS, Ctrl+B on Windows and Linux).


Windows Defender performance warning

The IDE will warn you when Windows Defender is affecting the build performance. We’ll port this feature from Android Studio’s Project Marble, and we’ll add a few enhancements to it:

  • IntelliJ IDEA will check for process exclusions, not just directory exclusions
  • IntelliJ IDEA will check that Windows Defender is the active antivirus
  • IntelliJ IDEA will be able to automatically exclude directories from real-time scanning.

Don’t hesitate to download and try IntelliJ IDEA 2019.2 EAP! Any and all feedback is welcome in our issue tracker.

Happy Developing!

Comments below can no longer be edited.

10 Responses to IntelliJ IDEA 2019.2 EAP5: Commit from Local Changes and more

  1. Avatar

    R. G. says:

    June 19, 2019

    The commit form local changes option sound interesting. No more copy pasting the message to another application because
    1. The commit dialog is modal
    2. I want to check the name of a class that didn’t change in the editor for the commit message (i. e.: “refactor to have analogous logic flow to class Bar”)

    • Avatar

      Dmitry says:

      June 20, 2019

      FYI: Any changes to commit message are saved. So instead of copying it to another application you could just close the Commit dialog, find that class you needed the name of and press Ctrl+K to get beck to editing the commit message.

      I nevertheless agree that modal Commit dialog is inconvenient. But I am not particularly happy about the new “inline” commit UI either. I’ll give it some more time though.

  2. Avatar

    Darek says:

    June 19, 2019

    What a great change! I’ve been using the commit dialog to go through my changes, and sometimes deselecting files and chunks to keep my commits small. If I then noticed something I had to change, I’ve closed the dialog, made the changes and my previous selection was gone. This should be hopefully solved with the next release 🙂

    (I know, I could also use different changesets for my use case)

  3. Avatar

    Alexander Münch says:

    June 19, 2019

    The new “Commit from Local Changes” feature looks very messy to me.
    I work a lot with the “Local Changes” window and do not want the “Commit” text area taken further space away. The options (Commit Author, Check TODOs, … and so on) you put in the toolbar are cluttered.

    Glad you provided a option to switch back to the old “Commit” dialog 🙂

    • Avatar

      Mihail says:

      July 2, 2019


  4. Avatar

    Dimitar Dimitrov says:

    June 20, 2019

    I can’t see how do I dismiss the commit UI without committing – i.e. in case I changed my mind.

  5. Avatar

    Anton says:

    June 20, 2019

    “Commit from the Local Changes” is a cool change. But it needs polishing. Fresh UI is a little bit confusing. See for details.

  6. Avatar

    Dancing Cat says:

    June 21, 2019

    > IntelliJ IDEA will be able to automatically exclude directories from real-time scanning.

    This sounds like a proof of Windows Defender failure to protect against viruses.

    • Avatar

      Vojtěch Krása says:

      June 24, 2019

      Nope. UAC still needs your confirmation.

Discover more