After doing some modifications to a file or directory outside of an IDE and switching back, the changes are not visible in a Project View tree or an editor.
Paste the following lines into bin/log.xml file above the "root" tag:
<category name="#com.intellij.openapi.vfs.newvfs.RefreshSession"> <priority value="TRACE"/> </category> <category name="#com.intellij.openapi.vfs.impl.local.NativeFileWatcherImpl"> <priority value="TRACE"/> </category> <category name="#com.intellij.openapi.vfs.newvfs.persistent.RefreshWorker"> <priority value="TRACE"/> </category>
When reporting an issue, provide collected logs, time of a file change, a path to the file or directory that was modified, and a nature of a change.
When done, don't forget to restore the bin/log.xml file and restart - otherwise, excessive logging may slow down the IDE.