Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

___jb_bak___ and ___jb_old___ files in PyCharm

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 :(

like image 320
pavel_mstu Avatar asked May 26 '14 07:05

pavel_mstu


People also ask

How do I know if a file is saved in PyCharm?

By default PyCharm will save files whenever you switch apps. If you want to see which files it hasn't saved yet, there is a config options for this under "Settings" -> "Editor" -> "General" -> "Editor Tabs" you can check the "Mark modified (*)" option.

How do I select which file to run in PyCharm?

Alt + Shift + F10 and then select the script you want to run. After that Shift + F10 will run the last script that has been run.

How do I switch between files in PyCharm?

Switch between tabs You can also switch between recently viewed tabs or files. In the editor, press Ctrl+Tab . Keep pressing Ctrl for the Switcher window to stay open. Use Tab to switch between tabs and other files.


1 Answers

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

like image 133
JeremyWeir Avatar answered Sep 18 '22 18:09

JeremyWeir