vscode-workspace-switcher icon indicating copy to clipboard operation
vscode-workspace-switcher copied to clipboard

No workspaces found in windows network share

Open ghost opened this issue 6 years ago • 4 comments

If the path is directing to a local directory the extension is working correctly, but I like to use a windows network share to store all workspaces. This config is not working: "vscodeWorkspaceSwitcher.paths": [ "\\webserver14\~VSCode\workspace", ] Does the extension support this? Thx

ghost avatar Jul 13 '18 10:07 ghost

binding the share to a network drive is working: "vscodeWorkspaceSwitcher.paths": [ "v:/workspace", ]

ghost avatar Jul 13 '18 11:07 ghost

I finally found some time to work on the extension again, so this is why the great delay answering you.

Have you tried to double escape "\\webserver14\~VSCode\workspace" as in "\\\\webserver14\\~VSCode\\workspace".

Plus, I am not sure about ~, I will have to check. But for the rest, double escaping the string seems necessary.

Plus, the fs node module in Windows needs full paths in general, eg, full UNC paths to work.

In any case, you could also try V:\\workspace for your second example as it, too, needs too be double escaped.

Can you please try these and get back with more info?

Unfortunately, I do not own a PC with Windows so I cannot test them.

sadesyllas avatar Mar 27 '19 01:03 sadesyllas

@bokonet, any news on this? Please, refer to my comment above in case you have not read it.

sadesyllas avatar Apr 25 '19 15:04 sadesyllas

if the paths startwith /[C-Z]:/ replaceall '/' to '\' waiting for the next version of the extension

laozhujia avatar Jul 31 '19 06:07 laozhujia