user11392987
user11392987

Reputation:

VS Code: How to scroll split panels simultaneously

I'm trying to compare similar, but different files in VS Code.

Is it possible to scroll both panes at the same time?

I'm referring to Editor Groups in the image below.

This sample image is taken from https://code.visualstudio.com/docs/getstarted/userinterface

VS Code Activity Bar, split panels, Editor Groups, Side Bar, and Status Bar

Upvotes: 22

Views: 13858

Answers (2)

KyleMit
KyleMit

Reputation: 30147

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

demo

Additional Resources

Upvotes: 12

algorythms
algorythms

Reputation: 1585

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.

Upvotes: 29

Related Questions