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
@LazyOne's answer pertains to an earlier version of PhpStorm. In PhpStorm 8.0 there are two checkboxes to provide more granular control over your file synchronization settings:
Here is what the checkboxes do:
When there is conflict between PhpStorm and the file that changes on the disk, you will be asked to choose what to do:
More details can be found in the PhpStorm documentation pages for System Settings and the File Cache Conflict pages.
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: