How to open multiple diffs at once?

Answered

I'm working on bigger/harder fix, analyzing previous commits. From 1 commit, I want to view say 3 diff windows, of different classes and see them at the same time on screen. I have sufficient screen space, but intellij idea blocks me to view only 1 diff at a time for some reason, regardless if I open diff in separate window or not.

How to configure to open as many diff windows from whichever sources as I want?

0
5 comments

All-in-one diff view is currently available for comparing changes in a Pull Request:

There is an open feature request for enabling it in the commit tool window diff: https://youtrack.jetbrains.com/issue/IJPL-100527.

As a workaround, you can open multiple diffs in separate editor tabs and then split the editor view into parts to make all the tabs visible at once. Check this gif. If you have a big enough screen, you can open many diff tabs at the same time.

0

“the workaround” is exactly what I want/need. But idea wont let me. Only one diff for me. If au open new one, it replaces the previous one. How to disable this behavior?

0

Did you try the option: Show Diff in a New Tab? It should open the diff view in a new tab in the editor. It shouldn't close the previous one. You can also check your settings in Settings (⌘ + , or Ctrl + Alt + S) > Editor > General > Editor Tabs.
Especially Closing Policy > Tab Limit.

Please check the gif: https://jmp.sh/s/u4PNCqnPatCEJPWwXdBE.

0

Jesus, I apologize. I have no idea how, but I overlooked it. It must be relatively new, but it's my fault regardless.

Thanks!

0

No worries at all! Glad to help. 

0

Please sign in to leave a comment.