"Folder as Workspace" refresh view
It would be useful to be able to refresh the “Folder as Workspace” view to pick up files moved into a directory outside of notepad++. I have my web page files on a Raspberry Pi file server. When I move a file from one directory to a different one, I have to close notepad++ and reopen to see that moved file in the new directory. If the option exists, I am unable to find it.
On Notepad++ 8.5.6 on Windows 10, the
Folder As Workspacereacts in real time to additions/removals of documents from the folder. What version of NPP are you using?
I have my web page files on a Raspberry Pi file server. When I move a file from one directory to a different one, I have to close notepad++ and reopen to see that moved file in the new directory. If the option exists, I am unable to find it.
You’re presumably not running Notepad++ on the RPi (I doubt that you would be running Wine or equivalent on a RPi, anyway).
So I am assuming you are access the files from your Windows PC using either
\\machine\path\UNC nomenclature or
z:\path\mounted “drive”, or the NppFTP plugin.
The first two methods should pick up changes immediately… but maybe if the RPi time is significantly different than the PC time, Notepad++'s last-modified checks or what have you are not able to work.
If you are using NppFTP, you cannot be using Folder as Workspace (“FaW”) directly. The NppFTP window should update its view periodically. But if you have run “FaW” on the local cache directory where NppFTP holds its local copies of the various files from a given server, that does not get updated live. The only time the files in the cache get updated is when you download from the server to the local cache from the NppFTP interface.
ReadDirectoryChangesW() is not reliable for network shares. If you Google for
ReadDirectoryChangesW network driveyou will find others seeing the same issue you are having. My guess is that the Raspberry Pi supports an older version of SMB protocol.