PyCharm中的___jb_bak___和___jb_old___文件 [英] ___jb_bak___ and ___jb_old___ files in PyCharm

查看:1352
本文介绍了PyCharm中的___jb_bak___和___jb_old___文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从我的同事那里得到一些PyCharm项目时,我看到了一些* .py文件的备份文件。

When I got some PyCharm project from my colleague I saw some backup files of *.py files.

这个文件有类型: * .___ jb_old ___ * .___ jb_bak ___

我在Notepad ++中打开文件并查看这些是相应的 * .py 文件的相同备份文件。
我问我的同事,但他不知道这些是什么。

I open the files in Notepad++ and see that these are identical backup files of the corresponding *.py files. I asked my colleague, but he didn't know what these are.


  1. 为什么两个相同每个* .py文件的备份文件?

  2. 如何调整PyCharm?我们想要关闭此备份。

  1. Why are there TWO identical backup files for each *.py file?
  2. How can I tune PyCharm? We want to turn off this backup.

Google没有给我任何东西:(

Google gave me nothing :(

推荐答案

你可以禁用安全写入


使用安全写入(保存更改为首先是临时文件)如果选中此
复选框,则更改的文件将首先保存到
临时文件;如果保存操作成功完成,则删除
原始文件,并重命名临时文件。

Use "safe write" (save changes to a temporary file first) If this check box is selected, a changed file will be first saved to a temporary file; if the save operation is completed successfully, the original file is deleted, and the temporary file is renamed.

https://www.jetbrains.com/webstorm/help/system-settings.html

< img src =https://i.stack.imgur.com/4VtWF.pngalt =设置>

这篇关于PyCharm中的___jb_bak___和___jb_old___文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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