Restored files on macOS are not indexed in Rider (only recreated files are detected)
Delete one or more files tracked by Git in Rider. Run `git reset --hard` to restore them.
Rider does not see or index the restored files at all. They remain missing from the project view and search. even afterInvalidate Caches + Restart, The only way to make Rider pick them up is to recreate the files manually.
Please sign in to leave a comment.
it is not happening 100% when i delete + restore the files, but if it happens, no way to get it reindex only by delete+recreate the files
Zhoujiazhiwork, regrettably this is a known issue IJPL-80554 git reset hard doesn't trigger VFS refresh. Please consider following (★) this issue to monitor the progress.
As a possible workaround, please try using File→Reload all from Disk and let us know if the issue persists.
Kirill Filin
File→Reload all from Disk does not work , I still need to recreate all of them.
Zhoujiazhiwork, thank you for the information. Unfortunately, I cannot suggest any other possible workarounds at this time. Further updates will be reflected in the issue linked earlier.