VS Code: How to scroll split panels simultaneously

It's a highly requested feature, but there's currently no native way to do this.

But you can download the extension Sync Scroll which will scroll all open editor panes


Additional Resources

  • Stack Overflow - Synchronise vertical/horizontal scrolling in split view
  • Github - Synchronized Scrolling in Split Editor
  • Github - Link scrolling in editor split-view

In the Explorer sidebar:

Right-click on package.json -> Select For Compare

Right-click on findoptionswidget.ts -> Compare With Selected

You can then scroll the two panes simultaneously.