denieler / save-workspace-atom-plugin

If you work with few projects same time this plugin give you the opportunity to change your workspace faster. Save your workspace, all your opened tabs, cursor position, etc. for each task you are working with.
MIT License
23 stars 5 forks source link

BUG Very dangerous #29

Closed Nick-us closed 5 years ago

Nick-us commented 5 years ago

I'll explain how it happened 2 times!

I work with many tabs open, some 15. I was editing 1 file (partners.txt). I saved him! So I saved the workspace for Project1

Already there were other workspace saved as: day 1, day 2 They all had saved files. I never leave Atom, or save a Workspace without saving a file!

I closed the Atom, went to rest, when I returned, I opened another file to edit. I had only 1 file. So I decided to open the old file I was editing (partners.txt)

And he was missing a lot of things I had put into it! They disappeared. I was desperate, it was a lot of work and I did not have backup because if I SAVE the file, I hope the computer obeys, or inform that it did not save!

Excited, I closed all the files, and asked to reopen Workspace Project1 Luckily the file was in this complete workspace!

I did not like this, because I understood that this plugin saved in a different location from the original file, and this worried me a lot, because I already lost other texts because of that. And when I saved a workspace, I thought it would just save the list of files open. And so it often removes workspace that I would not need to use anymore.

I think the plugin should not save things in different places because this has generated confusion. I think it should be when you click SAVE, do this in the original location where it is expected to be targeted, where the file is!

denieler commented 5 years ago

Hey, @Nick-us! No, this plugin doesn't save or modify any files or at least changing their locations, the only data it operates - filenames and paths. So don't worry about the security of your files. And probably this has happened because of the combination of events or bugs in different plugins.