Search code examples
goland

GoLand File Cache conflict


I am getting constant popups for File Cache conflict, but both memory and disk changes are the same when i go into show difference.

Hampering work in a big way. Any idea of how it can be resolved?

enter image description here


Solution

  • Found out the reason for the file cache conflict. Posting the answer here so maybe will help others in case of similar problems.

    The conflict was being caused by one of the File Watchers I had recently configured. go fmt

    The issue was with the configuration.Auto-save edited files to trigger the watcher

    File Watcher - go fmt

    The auto save was being triggered by a separate thread, interfering with the code being typed in the goland editor. I removed the Auto save option and things went back to normal