Automatically scroll to first difference when comparing files?

Hi! Is there any way to configure Intellij to automatically scroll to the first difference when comparing two files?

For example, when comparing local changes before a commit, often there are big files with one change halfway down. It would be a big time saver to be able to configure the IDE to automatically scroll to the first diff after opening the comparison window.

Comment actions Permalink

It works for me out of the box. What version are you using?

Btw you can use F7/Shift+F7 in order to navigate to differences.

Comment actions Permalink

I'm using Intellij 13, but I figured out the issue: I had "Use soft wraps" enabled in the compare view, which forces it to scroll back to the top again.
If I disable that option, it works.

I'll file a bug.


Please sign in to leave a comment.