8.4.6 problems with files on a network folder
I often work on my laptop with files stored on a network folder, mapped as a Windows drive. When I move to another location and open Notepad++ before activating the VPN or when the network card is connecting and Windows has not yet mapped the corresponding drive to the network drive, Notepad++ on startup closes all files found on the network, without putting them in the recent files list.
Previous versions of Notepad++ kept files open in the editor, possibly showing a message saying they were no longer available and asking what to do.
In my opinion it would be important to save in the recent files list the files that are not found when starting Notepad++. Or find alternatives for problems like this.
It’s an interesting idea to put these files in the history list.
Another idea could be for Notepad++ to create a named session file with the data. Name of the session file could be “Unopenable” or some such…
Issue#12079 is related to this. The “desired behavior” part-1 says,
When session files are non-existent, they should be added to the “Recent Files History” so that Notepad++ has a record of files that used to be open but aren’t any more
… which I had intended to handle this, though I no longer like my phrasing. I would have preferred if I had said,
when files from the session being loaded are found to be non-existent* they should be added to the ‘Recent Files History’
(*: whether because the network isn’t mapped yet, or the USB drive isn’t currently inserted, or what have you)