VsCode 将源代码管理(Working tree)中的新旧代码上下对比变为左右对比


一、默认设置

在这里插入图片描述
如上图所示,在vscode中的源代码管理处,点击里面的文件就会出现一个 Working tree的新旧代码对比,这种代码对比是左右布局的。

二、左右布局变成了上下布局

在开发的时候不知道点了哪里,发现代码对比变成了上下布局。如下图:
在这里插入图片描述
缺点:这种不仅是视觉上的问题,还有删除或者修改部分(红色区域)无法选中复制,即你想还原的时候就要一行一行打,那指定不能这么麻烦呀。于是网上搜索了一波,木有找到,花了几小时找配置终于找到了,所以这里记录一下,怕忘记了。

三、解决方法:将上下布局改为左右布局

1:找到右上角的更多设置

在这里插入图片描述

2:点击更多设置后点击【切换到并排视图】

在这里插入图片描述

3:效果如下(还是原来的效果)

在这里插入图片描述

四、左右切换成上下

左右布局是默认的,但是也有人就喜欢上下,萝卜青菜各有所爱嘛,你想要将左右设置成上下也是可以的,点击【切换成并排视图】即可。

在这里插入图片描述

总结

简单来讲,就两步
1:点击视图右上角三个点的地方更多设置
2:点击【切换到并排视图】即可

  • 4
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
The three datasets contain the performance metrics of 520, 527 and 547 VMs from a distributed datacenter of Materna. Materna is a full service provider in the premium segment and has been successfully implementing ITC projects for their customers for more than 35 years. Thier client list reads like the “Who’s Who” of German companies and public sector organisations. Throughout Europe there are around 1,700 employees working for Materna, including highly specialized and certified consultants, software developers, software architects and project managers as well as editors and marketing experts - all with well-proven project experience. Materna covers the complete spectrum of services you would expect from a full service provider: from strategy and consulting services through to implementation and operations. The range of services is organised in six Business Lines: IT Factory, Digital Enterprise, Government and Communications, as well as cbs, a SAP business consultancy company. Each file of teh three datasets contains the performance metrics of a specific VM. These files are organized according by traces: Materna-trace-1, Materna-trace-2 and Materna-trace-3. The first trace consists of 520 VMs, the second trace consits of 527 VMs and the third trace consits of 547 VMs. The traces were taken in the distributed Materna Data Centers in Dortmund over a timespan of three months. Each trace represents one month of data. Running VMs in the traces are mostly the same in all three datasets. The workloads in the traced VMs are highly critical business applications of internatinaly known companies. All datasets contain a special text-file listing relevant trace-metrics. The traces were taken on a VMware ESX environment using the following physikal resources:

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值