I've had a lot of times where I worked on a file and forgot to save it and came back to it later, forgetting what I'd done or if I should save what I had.
Now it's okay to save as something else and do a diff, or just compare the renamed file with the old file.
But I'm wondering if we would be able to bring up a difference file in an editor.
Here's how this feature could work.
File:Track unsaved changes
1) uses the "save" function with a new flag (bool Backup){ which 1) keeps the project "dirty" and 2) points not to the project file but a temporary file (I'm not sure where this would go). Then after saving, we'd compare with the current file and do a diff (I assume C# has a function for this), and the resulting text file could be launched automatically.
Now we need to consider if we want a size limit on the diff file, etc.
I've done this to myself enough times I'd be glad to add the feature, but I wanted to make sure that my basic plans didn't have any huge holes.
I've had a lot of times where I worked on a file and forgot to save it and came back to it later, forgetting what I'd done or if I should save what I had.
Now it's okay to save as something else and do a diff, or just compare the renamed file with the old file.
But I'm wondering if we would be able to bring up a difference file in an editor.
Here's how this feature could work.
File:Track unsaved changes
1) uses the "save" function with a new flag (bool Backup){ which 1) keeps the project "dirty" and 2) points not to the project file but a temporary file (I'm not sure where this would go). Then after saving, we'd compare with the current file and do a diff (I assume C# has a function for this), and the resulting text file could be launched automatically.
Now we need to consider if we want a size limit on the diff file, etc.
I've done this to myself enough times I'd be glad to add the feature, but I wanted to make sure that my basic plans didn't have any huge holes.