You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you open a project and switch projects, you will get all the files you were just working on. This is probably not the most useful way to go about it. It would be nice to have it so that if the user opens a different project, that project should be restored to its previous state.
This may require saving more information. From what I'm thinking now, the saved json could contain an map of objects with the key of its directory path and its values will contain what is currently being stored. It would probably end up looking like this:
Another (easier to do) thought would be to have them saved in separate files. The path could be packageDirs/save-session/projects/path/to/project. Then the file wouldn't have to be read every time we want to save it. It could just be overwritten like it currently is.
Currently, if you open a project and switch projects, you will get all the files you were just working on. This is probably not the most useful way to go about it. It would be nice to have it so that if the user opens a different project, that project should be restored to its previous state.
This may require saving more information. From what I'm thinking now, the saved json could contain an map of objects with the key of its directory path and its values will contain what is currently being stored. It would probably end up looking like this:
The text was updated successfully, but these errors were encountered: