vellerefond / project-ring

Project management for the Atom editor.
GNU General Public License v2.0
15 stars 8 forks source link

Everytime I switch projects a opened file in the project I am opening gets its content erased #6

Closed rafaelspecta closed 9 years ago

vellerefond commented 9 years ago

Please, if you could be so kind as to provide a list of steps for reproducing it from scratch, it would take far less time to solve it. Of the utmost help, it would be if you could backup the folder ~/.atom-project-ring and then delete it entirely (having already closed Atom) to start fresh.

petey commented 9 years ago

I've come across this issue as well.

Some of the files from the first project are now empty. Switch back, some of the files in the second project are empty.

Notes: I do not have autosave on, but that is what this seems like. The projects are being switched, but in the new project the files that were in the old project don't exist, so their contents are emptied. Those documents are then closed (and saved in their original location) after being emptied. The fix for this would seem to be to close all documents before switching project paths.

vellerefond commented 9 years ago

Please, update to v0.18.0 (8b0ee0ce8df6ddf28abdd4daa0738a7160e53a31). This fixed it for me. If not yet fixed for you then something else is happening as well (i.e., something I did not come across during my tests) so please reopen this issue.

rafaelspecta commented 9 years ago

Great!!! It seems to be working fine for this problem... Sorry for not answering before