usama8800 / VSCode-Tab-Groups

MIT License
37 stars 4 forks source link

Unable to save current tabs in network drive folder #26

Open cgaddi opened 3 years ago

cgaddi commented 3 years ago

I have just installed version 1.4.8 of the extension and I have files open from a mapped network drive in VS Code. When attempting to save current tabs, it closed all of the tabs and my editor is stuck reloading this window.

image

Thank you for your help!

usama8800 commented 3 years ago

I just tried this on a mapped drive and it worked. Maybe you're having permission problems?

And just to be clear, we're talking about Windows mapped drives, right?

cgaddi commented 3 years ago

Yes it is Windows mapped drive. What permissions should I check for? I have the permissions to read and write all of the documents in the mapped drive.

usama8800 commented 3 years ago

The groups are saved in .vscode/settings.json if you're not saving globally. If you see the value changing when you click save but the tabs are not opening it's something else

cgaddi commented 3 years ago

Here are the current settings that I have for Tab Groups: image

When I save the tab group, it populates my settings.json with the following: image

But then it closes all of the open files and VS Code gets stuck reloading. When I reopen the app, the Tab Group was not saved.

If it were working properly, what should have been saved into my settings.json? Do you have an example of what it should have looked like?

usama8800 commented 3 years ago

image

The groups here should be empty I think because your Save Globally is off.

image

This setting is saved temporarily before saving the tabs and it is removed after saving successfully. And tab-groups.groups should be a long base64 string

I'm not sure what would cause that. Was this working fine before 1.4.8? Is any tab layout not saving?

cgaddi commented 3 years ago

I just recently installed this extension so I don't have any experience with any of the previous versions, but I have tested the extension with local directories and those work perfectly! I have tried setting the Save Globally feature to on and it was still behaving the same way.