<html><head><link rel="canonical" href="https://www.jetbrains.com/help/idea/file-cache-conflict.html.md/" data-react-helmet="true"/></head><body># File cache conflict

If an external process changes a file that was opened and unsaved in IntelliJ&nbsp;IDEA, it results in two conflicting versions of the file.

Prevent other applications from modifying the files that are already opened in the IDE or use the following options to resolve conflicts.

| Item | Description |
| --- | --- |
|  Load FS Changes |  Click this button to load the file version produced outside of IntelliJ&nbsp;IDEA, and overwrite your local changes.  |
|  Keep Memory Changes |  Click this button to preserve the version produced in IntelliJ&nbsp;IDEA and stored in cache.  |
|  Show Difference |  Click this button to invoke the [Diff Viewer](differences-viewer.html) that shows the version in the file system to the left, and IntelliJ&nbsp;IDEA version to the right. You can merge differences as required and load the desired version to IntelliJ&nbsp;IDEA. By default, the cache version is saved.  |

## See also

### Procedures

[Write and edit source code](working-with-source-code.html)

### Reference

[System Settings](system-settings.html)

</body></html>