by jps on Fri Jul 29, 2011 3:55 am
It's tricky.
When opening a file, no file IO is allowed to be done in the main thread, for performance reasons. It's possible to do an async stat on the file before opening a tab, but on slow, remote file systems, that can sometimes take several seconds, and I don't want to wait that long without giving UI feedback.
I'd rather eliminate non-existent files from the MRU list entirely, but doing that properly is a surprisingly tricky thing to do (considering slow file systems, file systems that don't provide notifications, and removable file systems).