Reputation: 52537
Is there any way to synchronize scrollbars in VS2010? For instance, if you have two files that are nearly identical and you are trying to diff them using vertical tab groups, is there a setting that will allow you to synchronize the scrolling in both?
Upvotes: 10
Views: 4258
Reputation: 1
You could always set the selectedindex and then set the top on all of your listboxes for the "effect"...
Upvotes: -1
Reputation: 15239
Is better to take WinMerge to compare two files.
You also may do not do the step (3) if you just want to compare manually side by side, using synchronous scrolling.
Upvotes: 1
Reputation: 2896
I couldn't work out a way to do it in VS but if all you want to do is compare you could always use Notepad++, which is an awesome free text editor. Get that and copy and paste your code into two different tabs in NP++, then right click one of the tabs and choose 'Move to Other View'. You should then have the two side by side. Scroll both of them to the top and then click 'View -> Synchronize Vertical Scrolling' and that'll keep them synched and you can do easy side by side comparisons.
Hope that helps!
Upvotes: 3