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

查看:30
本文介绍了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___.

This files have types: *.___jb_old___ and *.___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?我们想关闭此备份.

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

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

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