Closed
Description
Some issues impact users that try to run VS Code against slow network drives. Specifically:
- some folders fail to open or display (Network: VSCode does not open folders from network share #26931, Netwok: Folder appears empty when using a network drive #20207, Network: Folders unable to be opened #21397, Network: Left side explore folders don't always open #21520, Network: issues with network drives open mapped via Novell Client #25885)
- we remove folders from the recent folders list when they do not seem to exist even though they are (13699)
- when opening an already opened file, we load its metadata to find out if it changed (Add ability to create new file within a new folder by typing e.g. 'folder_name/file_name' #5353)
- when opening an already opened file, we open it to detect the encoding (FileService.resolveContent() should check for not modified since as first thing #21604)
- we close an editor when we detect a file delete event (this can happen from faulty file events) (Add an option to disable closing open files that are removed from the directory #11642)
- we prevent saving when we think the contents on disk are newer (which seems to happen sporadically on network drives) (Possible to save file multiple times leads to race condition #18037)