开发者

Synchronize scrollbars in Visual Studio 2010

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?


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!


Synchronized scrollbars are not part of VS2010.

Here you can vote for them!


Is better to take WinMerge to compare two files.

  1. Open WinMerge, Do "Ctrl+N", then two blank pages will open,
  2. Copy-paste the code one in the left, another in the right page,
  3. Press F5 to see the differences.

You also may do not do the step (3) if you just want to compare manually side by side, using synchronous scrolling.


You could always set the selectedindex and then set the top on all of your listboxes for the "effect"...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜