Provide PyCharm warning to reload files when they change externally

When you go to an open file in PyCharm after changing it using another program, PyCharm does not display a pop-up message about whether you want to reload the file from disk or stick to the version in your memory (unlike other editors I'm used to).

All he does is show a small bar on top with a tiny reset button; A pop-up message is not displayed until you try to save the file (by then it is too late).

I have studied a little; but could not find the switch. How can I configure Pycharm to what I want? (The solution should not disable the save dialog that appears when you try to close a file with unsaved changes.)


Screenshots:

PyCharm's small message bar:

enter image description here

An example of expected behavior:

enter image description here

+2
source share
1 answer

Make sure that file synchronization is enabled when the frame is activated. This is in Settings | Appearance and behavior | System Preferences or Preferences | Common in older versions of PyCharm (up to 4.5).

Also note that such problems may occur if you open the file through a symbolic link or a network file system, which may prevent PyCharm from correctly receiving file change notifications.

+6
source

Source: https://habr.com/ru/post/1536320/


All Articles