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, without prompt. All my changes will lost.
Settings/Preferences | Appearance & Behavior | System Settings
Untick Synchronize files on frame activation
option
Now PhpStorm will ask you what to do: you will have few options to choose from:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With