Preview Pane in Commit Tool window disappeared in IDEA 2020.1

已回答

I updated my IntelliJ IDEA to 2020.1. I see that the local changelist that use to come under Version Control Tool window has been moved to Commit Tool window. But the right side preview pane that use appear before has disappeared. Now to see my changes again I have to click Show Diff for each file. Can anyone help on this?

6

Preview diff opens in the editor on double-click, or with the Next Change shortcut (F7).

The new UI is optional. It is by default enabled only in new installations.
It is possible to change the UI using the Use non-modal commit interface option in Settings/Preferences | Version Control | Commit.
It is accessible via FInd-Action.

2
Avatar
Permanently deleted user

Thank you so much. The older one is so much better. You guys got to think about this.

4

The screenshot in the online documentation shows the diff preview pane to the right of the list of files (as it should be, and is in the dialog).

How do we get that behavior?

Thanks,

1

> The screenshot in the online documentation shows the diff preview pane to the right of the list of files (as it should be, and is in the dialog).

Could you please point to the exact screenshot you mean?

In the dialog, the diff was at the bottom.

In the new UI, diff opens in the editor, to the right of the files list, on double-click or with the Next Change shortcut (F7). Then it follows the selection.

-1

Sorry - it was the Commit Dialog page, not tool window.

I'd like to have the diff preview pane available in the same manner as it is on the Commit Dialog.

2

Hello there,
I am quite late to the party, but I think Matt meant the preview like in this image from a 2019's blog entry: https://blog.jetbrains.com/idea/2019/06/intellij-idea-2019-2-eap5-commit-from-local-changes-and-more/

I would also like to have that layout available:
Directory tree on the left (with the commit controls just below) and the changes on the right.

Does not need to be default, but maybe available as an optional layout.

1

How do we get this preview window on right? 

1

Goksel

Make sure the following option is disabled under File | Settings | Version Control | Commit:

Then activate the diff preview option in the tool window in case it's disabled:

6

I cant see that button Arina Efremova . Im on ubuntu Intellij 2020.3.3

0

Goksel

Have you disabled the 'Use non-modal commit interface' option under File | Settings | Version Control | Commit?

0

If I disable that, the preview panel is on the bottom. Is there a way to move it to right?

 

0

Is there a way to move it to right?

Not in the 'Commit Changes' dialog.

If you open the Git tool window (Alt+9), you will see a list of local changes with the diff preview available to the right.

2

Hi,

Is there any way of sorting the Changelist by modified date instead of alphabetically?

Thanks.

0

Hello Kevin

There is a feature request for that (please feel free to vote):
https://youtrack.jetbrains.com/issue/IDEA-102020

0

Ah thanks!

...but with 5 votes (now 6) in 8 years I won't hold my breath *sobs quietly in the corner*

0

I somehow managed to figure the following out:

  1. Enable! Use non-modal commit interface
  2. Go to Settings | Advanced Settings | Version Control
  3. There you uncheck Open Diff as Editor Tab as well as Enable Commit tool window.

The result looks as follows. When commiting, you are able to see the diff immediately, step through changes, handle change-lists and select and deselect changes for the commit.

1

Denns Nice! Thanks for leaving that comment, just what I was looking for. 


It'd be cool if the ‘advanced’ settings for a settings group were accessible from the settings group rather than being hidden away like that.

0

Hi everyone,
Could you please help me — I’d like my commit window to look like the one in Goksel’s screenshot.


It’s a modal commit window with a list of changed files and a preview of the changes.
Currently, my commit window looks like this:

In PhpStorm version 2025.1.0.1 the settings seem to have changed.
I’ve tried adjusting all the relevant options, but I still haven’t achieved the desired result.

1

Konstantin The modal commit interface was moved to a separate plugin in 2025.1 release: https://youtrack.jetbrains.com/issue/IJPL-177161.
Please try the following to enable the modal commit window in 2025.1.x:

  • Install and enable the Modal Commit Interface plugin via Settings (⌘ + , or Ctrl + Alt + S) > Plugins
  • Enable the option Settings (⌘ + , or Ctrl + Alt + S) > Advanced Settings > Version Control > Use modal commit interface for Git and Mercurial
  • Disable the option Settings (⌘ + , or Ctrl + Alt + S) > Version Control > Git > Enable staging area
1

Ivan Pajic Thank you very much, this is exactly what I need!

1

This was not the way. 

From a UX perspective, this change just made it way stressful taking stock of things to commit.
I can't even navigate directly to the file when I double click on it. It navs to a “Commit diff”. I then cannot even “locate” the file on the project tree by clicking on the target button. Old “single-click to show diff, double click to nav” behavior was waaaay better.

Was there a specific reason why you guys felt this change was necessary / high-priority vs the other pressing issues with your suite of IDEs? I don't mean to sound harsh, but I think there are way more important issues to work on than trying to make the UX harder. It's almost like with each release, I struggle to fight the urge to finally cave in, cancel the sub with y'all, and switch to cursor or something…and I really don't want to.
 

Come on Jetbrains! Focus on the important things….like how till this day we still cannot debug container-ran python code with debugpy.

0

请先登录再写评论。