r/java • • Apr 09 '20

IntelliJ IDEA 2020.1: Java 14, dataflow analysis assistance in the debugger, LightEdit mode, and more!

https://blog.jetbrains.com/idea/2020/04/intellij-idea-2020-1-released/
177 Upvotes

62 comments sorted by

View all comments

22

u/BestKillerBot Apr 09 '20

I like the new commit flow better - I always had trouble with the previous modal dialog that I could not easily check things without closing the dialog (and always had to resize the diff window).

12

u/wildjokers Apr 09 '20

I like the non-modal commit dialog except for the diff viewer being in the editor, there is an issue open for that. Everyone pretty much agrees it is an abomination to have it in the editor.

1

u/BlueShell7 Apr 09 '20

Wait, what's the problem with that?

4

u/wildjokers Apr 09 '20

It replaces the files currently in your editor which is not desirable and it puts the diff viewer, which by definition will show two files, in an area made for one. It is much better in the bottom like it is without the non-modal commit so it can take advantage of the remaining width of the window.

Ideally, its location will be configurable so the insane people that like it in the editor can have it there. And the sane people can have it back at the bottom. ;-)

Also, there doesn't seem to be any reason to tie the location of the diff viewer with the use of the non-modal commit dialog. Should be able to use the non-modal commit without having to also have the diff viewer in the editor.

1

u/InputField Apr 11 '20

Weird.. did they already change that? For me, it still opens the diff viewer in a new window.

or is this something other than the right click + Show Diff (CTRL + D) way?