Join GitHub today
Notify when deserializing project state for missing directories #15681
When deserializing a serialized
When deserializing an unmodified buffer that is no longer accessible for any reason, silently skip that buffer.
When deserializing a modified buffer that is no longer accessible, deserialize the buffer. Eventually we might want to decorate the editor with a banner warning that the underlying file no longer exists.
I'll have to check. Thanks for the heads-up
I think at least not opening blank editors when deserializing buffers that are no longer present should help. But, if you modify the blank editor before the reload event is received, I'm guessing that you'd still lose data.
referenced this pull request
Sep 18, 2017
Given a project directory tree with a few files.
Successful serialization and deserialization
Partial deserialization failure
Full deserialization failure