Commit window / Local changes (v 2020.1) - See changes instantly on the right panel
已回答
I loved how commit window looked in v2019 but v2020 should be improved. Is there a way to see changes instantly on the right section when you click once like in 2019?
Screenshots here: https://imgur.com/a/xJUHUqz
请先登录再写评论。
2020 uses editor pane to show diff. That is one of the reasons why the Commit toolwindow was moved to the left.
Double-click on any file opens the preview, which then follows selection, as it used to.
Since it uses editor, opening diff on selection click appears to be too aggressive.
If you want to restore Diff preview into Local changes pane, you can disable the non-modal commit interface.
I am aware of that non-modal ui but I was looking for something like in v2019. This new UI gives me less space since I use vertical split windows. I dont understand why 5its changed but will this way I guess.
Thanks for the clarification. Indeed, Diff in Editor does not work well with split layouts https://youtrack.jetbrains.com/issue/IDEA-231847
See also https://youtrack.jetbrains.com/issue/IDEA-231132
I love the new commit window, it is just missing one feature that it had previously; having the diffs window as an actual tool window that updates based on the file selected in the local changes window.
I often look through my local changes and I want to A) have this window always handy, not mixed in with my editor tabs and B) be able to cycle through files in the local changes window with the arrow keys and have the diffs window update to my current selection.
Also, when I first opted in to use the new commit window it was opening the diffs in one of the editor tabs, then I switched back to the old commit modal, then switched back to the new commit window and it is opening diffs in a new window. So something weird going on there.
Definitely agree. Even i badly miss this feature. It was super easy to see what change i made ( especially in a huge file, imagine searching for 1 line change) also jump to the exact same place in the editor.
However I understand the usefulness of new system. Instead of seeing diff view and the same file open in editor view, the diff view itself acts like an editor to edit file.
So probably it's just matter of time to get use to this flow.