Open cxw42 opened 6 years ago
@cxw42 Chris, my preferences:
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.
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.
@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!
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.raw_title
) are 10% of the bytes. If we are bumping the version anyway, reduce those to single characters to save space.