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.

0
4 comments

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

 

0

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.

0

Kirill Filin 

File→Reload all from Disk does not work , I still need to recreate all of them.

0

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.

0

Please sign in to leave a comment.