___jb_bak___ and ___jb_old___ files in PyCharm

pavel_mstu picture pavel_mstu · May 26, 2014 · Viewed 26.4k times · Source

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

This files have types: *.___jb_old___ and *.___jb_bak___.

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. 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 gave me nothing :(

Answer

JeremyWeir picture JeremyWeir · Dec 12, 2014

You can disable "safe write"

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

Settings