Visual Studio Code - 防止同一文件打开两次 [英] Visual studio Code - prevent same file opening twice

查看:36
本文介绍了Visual Studio Code - 防止同一文件打开两次的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

之前发生过几次,我打开同一个文件两次然后忘记了.这意味着我在两个窗格中编辑同一个文件,这意味着同一个文件的两个版本.这导致了错误,我不明白为什么我的代码没有正确运行.

It's happened a few times before that I've opened the same file twice and forgotten about it. Meaning I was editing the same file in both panes, which means two versions of the same file. This led to bugs and me not understanding why me code was not being run properly.

是否有设置可以防止同一文件打开两次?

Is there a setting which prevents having the same file open twice?

推荐答案

Afaiak 现在已在应用程序的最新更新中修复此问题,因为在编辑一个文件时,其他文件现在也会更新.

Afaiak this has now been fixed in the latest updates of the application, as when editing one file, the other files also updates now.

这篇关于Visual Studio Code - 防止同一文件打开两次的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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