Refresh "Folder as Workspace", is the folder is on the Network Drive.
-
If I add a local folder for “Folder as Workspace”, I see that changes in the folder are reflected immediately. But if that folder is on Network drive mapped to this windows and added in “Folder as Workspace”, any changes to that folder are not reflected here. We have to close and open the Notepad++ for changes to take effect. Any resolution for this?
-
So, it depends on what you mean by “mapped”. If you mean what Windows means, then my experience is exactly the opposite of yours. If you mean "a network drive accessed directly by UNC, not by a Windows OS Z:-style alias, which WIndows calls a ‘map’ ", then I can confirm your results:
My experiment:
- I have a directory on a remote machine available from
\\machinename\path\
- I use Windows “map” feature (right click on This PC, then click Map Network Drive, and map
\\machinename\path\
to the driveZ:\
– this is a Windows map. - In Notepad++, I use File > Open Folder As Workspace twice.
- The first time, I select
Z:\
, and I see it show me the whole hierarchy - The second time, I select
\\machinename\path\
, and I see it show me the whole hierarchy
- The first time, I select
- In Windows, I add a new file to
\\machinename\path\
- Instantly, the
Z:
portion in Notepad++'s Folder as Workspace panel shows me the new file. However, the\\machinename\path\
portion in Notepad++'s Folder as Workspace panel does not update
(I see the same behavior on both v8.2.1 and v8.3.2)
If possible, I would recommend just using Windows to map the UNC path to a pseudo-drive-letter, like I did for
Z:
. If you don’t want to do that long term, then you can read the “feature request” FAQ which explains how and where to make an official feature request. If you do make a feature request, make sure you follow their template (especially include the Debug Info of your current Notepad++, by going to the ? menu and clicking Debug Info); also, make sure you use correct terminology: a mapped drive is a drive letter that points somewhere else (like my exampleZ:
points to the remote machine); a UNC path is using the double-backslashed\\machinename\path\
to access the machine directly, without a Windows mapping. Finally, if you create that request, please paste a link to that request in reply to this topic, so future people who find your request here can find out if it’s been implemented yet or not.Good luck.
- I have a directory on a remote machine available from