cxw42 / TabFern

Google Chrome extension for saving and restoring sets of tabs, and for switching between windows and tabs from a vertical, grouped list.
https://cxw42.github.io/TabFern/
Other
170 stars 28 forks source link

Save-data v2 #110

Open cxw42 opened 6 years ago

cxw42 commented 6 years ago

An issue to collect ideas for the next time I bump the version number of the backup file. Let me know if you have any thoughts about changes you'd like to make to the .tabfern format. TabFern will always include the code to read old backup files, so we do not need to worry about backward compatibility when designing the v2 format.

philiprhoades commented 5 years ago

@cxw42 Chris, my preferences:

cxw42 commented 5 years ago

Phil, user-defined prefix should be easy. I'm interested in more detail about your first and second points - do you often read or process your save data files? This is the first time someone has mentioned there might be a use case other than saving and loading.

philiprhoades commented 5 years ago

do you often read or process your save data files?

Not often but I have been doing a bit of it while moving from Chrome - which, as it turns out, looks like the issue might be because of RAM problems rather than Chrome problems . . but it was a good exercise anyway . .

This is the first time someone has mentioned there might be a use case other than saving and loading.

I fairly frequently find that I am loading Bookmarks etc into Vim to look for something or sometimes do some trivial editing - the usual GUIs are never able to do everything I want to do. If the JSON files were already nicely formatted it would make it easier to find my way around and do Vim folds etc.

cxw42 commented 5 years ago

@philiprhoades Interesting! Well, turns out JSON pretty-printing is easy, so that could be added as an option. I don't think it would affect the ability to load files (but would want to test that, of course :) ). When you get a chance, would you please open an issue for a pretty-printing option, and a separate issue for user-defined filename prefix? Reference this issue with the text "#110", or reference a specific comment in this thread by pasting in its full URL. (Turns out those get autolinked, although the docs don't mention it. Example: https://github.com/cxw42/TabFern/issues/110#issuecomment-433686061.) Thanks!