在拆分视图中同步垂直/水平滚动 [英] Synchronise vertical/horizontal scrolling in split view

查看:91
本文介绍了在拆分视图中同步垂直/水平滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS Code 中是否有一种方法可以在拆分视图中同步垂直或水平滚动?

Is there a way in VS Code to synchronise vertical or horizontal scrolling in splitted view ?

例如在 Notepad ++ 中:

从按钮:

从查看"菜单:

推荐答案

2021编辑:尽管下面的方法仍然有效,但是根据下面@ Mr.DQ的回答,现在确实存在插件同步滚动即可完成此任务.

2021 EDIT: While the below does still work, as per @Mr.D.Q's answer below, there does now exist a plugin Sync Scroll to accomplish this task.

-

根据我的发现,最接近的操作是使用比较文件"(Compare Files).功能.

From what I can find, the closest thing you can do is use the "Compare Files" feature.

在File-Explorer边栏中:

In the File-Explorer sidebar:

  • 右键单击文件A->选择进行比较
  • 右键单击文件B->与所选内容比较

这篇关于在拆分视图中同步垂直/水平滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆