How to prevent phpstorm to reload file without prompt when file on disk is changed?

后端 未结 2 2054
春和景丽
春和景丽 2020-12-10 03:07

When a file is open by phpstorm, and I make some changes without save. But at the same time, the file on disk is changed. Then phpstorm will reload the file from disk, witho

2条回答
  •  抹茶落季
    2020-12-10 03:17

    1. Settings/Preferences | Appearance & Behavior | System Settings

    2. Untick Synchronize files on frame activation option

    Now PhpStorm will ask you what to do: you will have few options to choose from:

    • Load File System Changes (load external changes from file)
    • Keep Memory Changes (ignore external changes and continue with text in editor)
    • Show Difference (show difference view to see the difference and decide what needs to be changed manually)

提交回复
热议问题